Reputation: 2739
I use listview. But I want to set x and y position of listview item. Ex: I want like this below draw image. Is it possible? If yes give me any idea or if no then give me another suggestions.
---------------------
| |
| |start point |
| |
|---------------------|
| |
| |start point |
| |
----------------------
Upvotes: 0
Views: 989
Reputation: 2796
for more info, here is a tutorial: http://www.vogella.com/articles/AndroidListView/article.html
Upvotes: 2
Reputation: 2555
Within your customer adapter, on the getView method, set the X margin or padding for your raw layout, depending on your condition.
Upvotes: 1