开发者

ListPreference with possibility to enter own option in Android

I have ListPreferences in properties.xml and standart Preferences Acitvity. All possible options of that property are in those xml. It list of predefined URLs.

ButI want to provide user possibility to enter it's own value in this p开发者_运维知识库reference his own URL.

How can I do that?

Thank you!


I would add CheckBoxPreference "Use custom URL" and two dependable preferences - ListPreference "Common urls" and EditTextPreference "Custom url"

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜