title: Custom preference title font size is larger than standard preference in android 5
body: <p>My app has custom preference with custom layout and after trying my app on android 5, I noticed that my custom preferences look different (font size, color, padding) than the others. So I thought it would be an easy fix just taking <code>preference.xml</code> from android 5 SDK, merging with my changes and placing a new layout to <code>layout-v21</code> folder. It fixed padding and color issues, but not size of the title which is bigger.</p>
  
  <p>My custom preference constructor looks like this:</p>
  
  <pre><code>public SeekBarPreference(Context context, AttributeSet attrs) {
      super(context, attrs);
      setLayoutResource(R.layout.preference_seekbar);
  }
  </code></pre>
  
  <p>preference_seekbar.xml (just added Seekbar to the original layout):</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:minHeight="?android:attr/listPreferredItemHeight"
      android:gravity="center_vertical"
      android:paddingEnd="?android:attr/scrollbarSize"
      android:background="?android:attr/selectableItemBackground" &gt;
  
      &lt;ImageView
          android:id="@+android:id/icon"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="center"
          /&gt;
  
      &lt;RelativeLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginStart="15dip"
          android:layout_marginEnd="6dip"
          android:layout_marginTop="6dip"
          android:layout_marginBottom="6dip"
          android:layout_weight="1"&gt;
  
          &lt;TextView android:id="@+android:id/title"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:singleLine="true"
              android:textAppearance="?android:attr/textAppearanceLarge"
              android:ellipsize="marquee"
              android:fadingEdge="horizontal" /&gt;
  
          &lt;TextView android:id="@+android:id/summary"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_below="@android:id/title"
              android:layout_alignStart="@android:id/title"
              android:textAppearance="?android:attr/textAppearanceSmall"
              android:textColor="?android:attr/textColorSecondary"
              android:maxLines="4" /&gt;
  
          &lt;SeekBar android:id="@+id/seekbar"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_below="@+android:id/title"
              android:layout_toEndOf="@android:id/summary"
              android:layout_toStartOf="@android:id/widget_frame"/&gt;
  
      &lt;/RelativeLayout&gt;
  
      &lt;!-- Preference should place its actual preference widget here. --&gt;
      &lt;LinearLayout android:id="@android:id/widget_frame"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:gravity="center_vertical"
          android:orientation="vertical" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>You can notice above that title widget has this original attribute: <code>android:textAppearance="?android:attr/textAppearanceLarge"</code> which should make font large, but then there is a question why standard preference title font size is smaller if it uses the same layout (only without seekbar)?</p>