I create a PreferenceActivity in which there are two EditTextpreferences. Clicking on the preference it opens dialog with EditText and two buttons(OK and Cancel). I want to add button on the right side of the default edittext this dialog in PreferenceActivity. How can I do this ?
I create a PreferenceActivity in which there are two EditTextpreferences . Clicking on the
Share
you can create a simple preference as follows.
On click of this preference you can open your custom dialog and in this dialog layout you can add your views.