开发者

I need to have a custom dialog in Preferences

开发者 https://www.devze.com 2023-04-05 08:33 出处:网络
I want to have a custom dialog (created using layout) in Prefere开发者_JS百科nces. What should I do to declare this custom dialog in my preferences? Implement a DialogPreference for your custom layout

I want to have a custom dialog (created using layout) in Prefere开发者_JS百科nces. What should I do to declare this custom dialog in my preferences?


Implement a DialogPreference for your custom layout and add that preference to your preference screen

Here is a good explanation of how to do this: Concise way of writing new DialogPreference classes?

0

精彩评论

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

关注公众号