I want to have a List Preference with 3 tabs (3 lists) inside it. I think none of android default preference (ListPreference, CheckBoxPreference, RingtonePreference etc.) supports tabs. I think I will need to write a custom preference for this. I know for writing tabs you need to extend TabActivity but I am not getting how to do it for custom preference. Please help?
I need something like a CustomListPreference which contains 3 tabs each containing a list of options. User can select one item out of these 3 lists. How to achieve this?
您可以构建一个选项卡式视图(扩展TabActivity
),其中每个选项卡活动都是PreferenceActivity
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.