开发者

Android: add EditTextPreference as ListPreference item

Is there any way to add EditT开发者_如何学JAVAextPreference as ListPreference item? What I need is RadioGroup list of preferences (ListPreference is just for that), but the last entry would be something like "Custom" where I need something like EditTextPreference to allow user to add custom value to this preference.

Any ideas how to do it?

Thanx all!


You would have to create your own custom DialogPreference for this in Java. There is no way to accomplish it through the preference XML.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜