Sapan
Sapan

Reputation: 1613

How to create an UI similar to the attached image?

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

enter image description here

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

Upvotes: 2

Views: 211

Answers (3)

Octavian Helm
Octavian Helm

Reputation: 39604

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.

Upvotes: 2

Priyank
Priyank

Reputation: 10623

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.

Upvotes: 0

Marcos Vasconcelos
Marcos Vasconcelos

Reputation: 18276

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.

Upvotes: 0

Related Questions