I need to have a custom dialog in Preferences
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?
精彩评论