开发者

DIalogPreference Problem

I am using preferences, and this snippet of XML always causes my application to stop unexpectly when I hit a menu settings button which is supposed to display a list of preferences. I can use CheckBoxPreference and ListPreference successfully but I cannot use DialogPreference. I cannot seem to find an example XML snippet anywhere.

I nee开发者_StackOverflow中文版d this dialog to collect a phone number in a string.


I should have been using EditTextPreference which extends DialogPreference. This works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜