I have a custom dialog layout which lists the configuration items when user clicks on a button. When I press on each item from the list, it should prompt the user with another custom dialog over the existing dialog. Is it possible to do and is it possible with Preference Activity? Or should I follow any other approach apart from this?
I have a custom dialog layout which lists the configuration items when user clicks
Share
A Dialog cannot contain an Activity. A Dialog can launch an Activity, but the Dialog itself cannot contain a PreferenceActivity.
I suggest using one of the many other Preference classes, like a DialogPreference, to create the Dialog you want. But you cannot create an Activity that opens a Dialog which contains a PreferenceActivity.