简体   繁体   English

我怎样才能在android中实现这个设计

[英]How can i achieve this design in android

How can i achieve this mockup design in android xml layout.我怎样才能在 android xml 布局中实现这个模型设计。 This is the link to my code这是我的代码的链接

https://kobra.io/#/e/-KGWAyH_q8bR2GuLwZas https://kobra.io/#/e/-KGWAyH_q8bR2GuLwZas

Link to image图片链接

You need to use android material design pattern.您需要使用android材料设计模式。 Here is a rough idea which view components you should be using to make your layout same as VD :-这是一个粗略的想法,您应该使用哪些视图组件来使您的布局与 VD 相同:-

在此处输入图片说明

In case you do not know what is FAB , cardView or Toolbar then it is good opportunity to learn material design pattern.如果你不知道什么是FABcardViewToolbar那么这是学习材料设计模式的好机会。

You can start from this tutorial or try to compile this sample project , it contain everything you require for your design.您可以从本教程开始或尝试编译此示例项目,它包含您设计所需的一切。

Good luck.祝你好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM