Change font size of Toolbar title in CollapsingToolbarLayout in android
<p>I have an Toolbar(android.support.v7.widget.Toolbar) inside android.support.design.widget.CollapsingToolbarLayout and i want to change the font size of toolbar title. I have tried app:titleTextAppearance and some older suggestions but they don't work. my code is as bellow.</p>

<pre><code>    &lt;android.support.design.widget.CollapsingToolbarLayout
        android:id="@+id/toolbar_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true"
        app:contentScrim="?attr/colorPrimary"
        app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
        &lt;ImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:id="@+id/route_detail_image"
            android:src="@drawable/default_image"
            android:scaleType="centerCrop" /&gt;

        &lt;TextView
            android:layout_width="match_parent"
            android:layout_height="90dip"
            android:layout_gravity="bottom"
            android:padding="10dip"
            android:background="@color/trans_black"/&gt;
        &lt;android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            app:layout_collapseMode="pin"
            app:elevation="20dp"
            app:titleTextAppearance="@style/route_title"
            app:popupTheme="@style/AppTheme.PopupOverlay"/&gt;
    &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
</code></pre>

<p>inside my style.xml</p>

<pre><code>&lt;style name="route_title" parent="android:Widget.TextView"&gt;
    &lt;item name="android:textSize"&gt;14sp&lt;/item&gt;
    &lt;item name="android:color"&gt;#ffff0000&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>inside .java</p>

<pre><code>Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
toolbar.setTitle(route_name);
</code></pre>