Changing text size inside Tabs
<p>I am designing my app for various screen sizes,but I have a small problem. I can't change the size of the text inside the tabs. Here is what I did.</p>

<p>Firstly I created my own style.</p>

<pre><code>&lt;style name="MineCustomTabText" parent="TextAppearance.Design.Tab"&gt;
    &lt;item name="android:textSize"&gt;22sp&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>And then I use this style to the appropriate xml file.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="manutd.football.app.interviews.InterviewsActivity"&gt;

&lt;manutd.football.app.SlidingTabLayout
    android:id="@+id/tabs"
    app:tabTextAppearance="@style/MineCustomTabText"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:elevation="2dp"
    android:background="#656e99" /&gt;

&lt;android.support.v4.view.ViewPager
    android:id="@+id/pager"
    android:layout_below="@+id/tabs"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:layout_weight="1"
    &gt;&lt;/android.support.v4.view.ViewPager&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p>Any ideas? Thanks</p>