title: Change text size on the positveButtonText in the EditTextPreference dialog
body: <p>I cannot figure out how to change the text size on the buttons in the EditTextPreference dialog popup box.  I would like all my text throughout my app to be streamlined at 24 sp.  This is happening everywhere except this dialog box from the PreferenceScreen.  As you can see in the ListPreference I figured out how to hide the positiveButtonText and negativeButtonText.  </p>
  
  <p>I would like to do this in the xml, if possible.  I also would like to avoid having to create a custom dialog layout.  In the EditTextPreference tag I can edit the title and layout in the dialog, I just can't figure out how to "touch" the default buttons.</p>
  
  <p>Here is my pref_connection.xml:    </p>
  
  <pre><code>&lt;PreferenceScreen 
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:title="Connection"&gt;
  
      &lt;ListPreference
          android:defaultValue="box1"
          android:entries="@array/pref_box_type_list_titles"
          android:entryValues="@array/pref_box_type_list_values"
          android:key="box_types_list"
          android:negativeButtonText="@null"
          android:positiveButtonText="@null"
          android:layout="@layout/preference_screen_layout"
          android:title="@string/pref_title_box_type"/&gt;
  
      &lt;EditTextPreference
          android:defaultValue="@string/pref_default_internet_addr"
          android:digits="0123456789."
          android:inputType="number|numberDecimal"
          android:key="internet_addr"
          android:selectAllOnFocus="true"                  
          android:singleLine="true"
          android:layout="@layout/preference_screen_layout"
          android:textSize="@dimen/text_size"
          android:title="@string/pref_title_internet_addr"/&gt;
      &lt;...&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>Here is the layout:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
  
      &lt;TextView android:id="@android:id/title"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:paddingTop="@dimen/large_margin"
          android:paddingBottom="@dimen/margin"
          android:textSize="@dimen/text_size"/&gt;
  
      &lt;TextView android:id="@android:id/summary"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:paddingBottom="@dimen/large_margin"
          android:textSize="@dimen/text_size"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Would like to do something simple like styles:</p>
  
  <pre><code>&lt;style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert"&gt;
      &lt;item name="android:textSize"&gt;24sp&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>or utilize dialogLayout inside the EditTextPreference:</p>
  
  <pre><code>android:dialogLayout="@layout/dialogLayout"
  </code></pre>
  
  <p>But can't seem to get any of those working.</p>
  
  <p>Hopefully screenshots of my app will help with understanding what I'm trying to accomplish.</p>
  
  <p>This shows the dialog box that pops up after the EditTextPreference is clicked. The text size on the cancel and ok buttons are what I'm trying to change. See red arrows.  The other text in this dialog are controlled by the attributes in the EditTextPreference.
  <a href="https://i.stack.imgur.com/A3UET.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A3UET.png" alt="This shows the dialog box that pops up after the EditTextPreference is clicked. The text size on the cancel and ok buttons are what I&#39;m trying to change. See red arrows."></a></p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <hr>
  
  <p>I discovered the correct style parameters to use:</p>
  
  <p>AppTheme definitions:</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"&gt;
      &lt;item name="android:editTextPreferenceStyle"&gt;@style/DialogPreferenceStyle&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="DialogPreferenceStyle" parent="Preference.DialogPreference.EditTextPreference"&gt;
      &lt;item name="android:positiveButtonText"&gt;TEST TEXT&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/VezSj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VezSj.png" alt="enter image description here"></a></p>
  
  <p>As you can see from the screenshot, I'm able to change the text of the button just can't change the text size.  </p>