开发者

How add this non clickable line (see on picture) to ListView with multi text in row?

开发者 https://www.devze.com 2023-04-12 05:23 出处:网络
could someone help me how to add this selected line which you can see on picture to ListView (I mean lines as \"General, Incoming calls, etc.\"). I have made ListView using a HashMap, but I don\'t kno

could someone help me how to add this selected line which you can see on picture to ListView (I mean lines as "General, Incoming calls, etc."). I have made ListView using a HashMap, but I don't know how to add this line to my ListView. I'll be very thankful if anybody help me.

Picture here: http://img11.imageshack.us/img11/1795/sc20111010202936.jp开发者_运维技巧g


Can easily be done with preferences and is called a preference category here is a good tutorial on preferences

http://www.kaloer.com/android-preferences


The Desired List View can be achieved in two ways:

1.Creating a Section List View Click here for Help

2.You can use the text with that background image in your xml for infalter layout.

And make it visible and invisible accordingly of your categorization.

Hope this would help you and guide to right path

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号