开发者

How to create an UI similar to the attached image?

I am trying to create an UI just like the attached image!

How to create an UI similar to the attached image?

How do we create these types of UI? Is it a ListView? And how do we get the arrow button on the right 开发者_Python百科hand side? How should I start with such kind of layouts?


You can achieve that with a LinearLayout too.

Have that LinearLayouts orientation be vertical. Create such list items (it isn't related to ListView) using RelativeLayout.

Have the icon be an ImageView aligned to its parent left and vertically centered, the text would be a normal TextView which is to the right of that icon and vertically centered as well and finally another ImageView but this time aligned to its parents right and vertically centered.

These is the receipt.


It's a ListView, you should learn how to write your own ArrayAdapter and returns in the getView method the View you want to be each row of the ListView.


AnDroidDraw lets you create the layout online and then later download it on your device. http://www.droiddraw.org/

Create appropriate custom ArrayAdapter for this layout.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜