Jasper Poppe
Jasper Poppe

Reputation: 521

Android Layout design tips

For a school project, I try to implement a design for an Android application.

Image 1:

enter image description here

Image 2:

enter image description here

As you can see, I have a list with some items. When the user clicks on an item, a little detailpage appear under the clicked item. Actually, I'm not sure if I should use a ListView in my example. Creating a ListView with all items works for me. But for the detail information, I don't know what to do.

Are there some tips & tricks for designing this page?

Thanks in advance!

Upvotes: 3

Views: 188

Answers (2)

user----
user----

Reputation: 63

You could use custom BaseAdapter, on getViewTypeCount() return 2 and depending on click, changing the clicked list element type, invalidate list, and on getView() generate view depending on itemType. No animation though.

Upvotes: 0

Lucian Novac
Lucian Novac

Reputation: 1265

Use ExpandableListView see references here

Upvotes: 2

Related Questions