crickpatel0024
crickpatel0024

Reputation: 2027

Creating Dynamic list in android?

i want like used listview in android and i want to create dynamic list like below image.how to possible and i want to fix top toolbar and below toolbar .

Thanks!!! enter image description here

Upvotes: 2

Views: 102

Answers (2)

Michael
Michael

Reputation: 4000

You are looking for three keywords: custom listview, adding search button to actionbar and adding a tab bar.

1) For your custom listview you need to create a layout for each row. You could realize it with a simple nested LinearLayout or RelativeLayout for the following parts. I could highly recommend this tutorial. Just modify the layout to create a row for your snippet:

enter image description here

2) For the search button in the actionbar, check out this section of the Android developer guide. This should help you getting started.

3) A tab bar example can be found here or here.

Hope it helps you getting started.

Upvotes: 3

BadIdeaException
BadIdeaException

Reputation: 2124

For the list: Create a layout xml and a ListAdapter that knows how to inflate the layout and populate it with each list item's data. Doing a quick google I found this presentation on it that looks to be fairly comprehensive.

For the top and bottom bar: Look at the action bar developer guide.

As has already been said, nobody will write your code for you. But this stuff should enable you to learn how to do it yourself.

Upvotes: 0

Related Questions