Layout:
Two layout xml  files:  1)one layout for listview 2)another layout for list 
items.  use two textview widget  and arrange it one below other.
Layout:  1)linear layout 2)relative layout or use combination of relative 
and linear

application code:

use i)SimpleCursorAdapter ii)custom adapter that fits your requirement

Referece : 
http://developer.android.com/reference/android/app/ListActivity.html
Use  list adapter similar to examles in  listing 4 and 14
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List4.html
 





On Friday, May 18, 2012 11:39:48 AM UTC+5:30, Jovish P wrote:
>
> In our app we have to show a screen just like below.  The data is in a 
> hash map with key value pairs.
> We want to show the keys of hashmap as header item of Listview and values 
> for that keys  as item layout under that key.
>  Please help us how to implement this.
>
> Regards, 
> Jovish
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to