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?
加载中,请稍侯......
精彩评论