Reputation: 60244
I want to have a custom dialog (created using layout) in Preferences
. What should I do to declare this custom dialog in my preferences?
Upvotes: 8
Views: 22181
Reputation: 2910
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?
Upvotes: 6