Reputation: 203
I have been tired apply a style or a layout to a preference, but it didn't work well. Could anyone help me with this?
I also find someone say it could be done in listview,But I wanna how to make those blank spaces between two block?
Please, help me with this , it has been puzzled me a long time.Thanks!
Upvotes: 1
Views: 602
Reputation: 30825
You can group your preferences by using PreferenceCategories and PreferenceScreens. If you want a preference to have an icon associated with it, you can use the android:icon attribute on the preference. Are there any specific characteristics of the iPhone settings that you're trying to replicate. You're not going to get your preferences to look exactly like the iPhones setting page, but you can certainly mimic certain characteristics.
Upvotes: 0
Reputation: 33782
You can have a transparent divider between ListItems
android:dividerHeight="10 dip"
Upvotes: 1