Answer the question
In order to leave comments, you need to log in
How can I change the font size in the application header?
Kind
And how to change the font size in the title of the application? I change in styles, but there is no reaction, the current font picks up
small somehow looks
Answer the question
In order to leave comments, you need to log in
You can’t change the standard size in any way, you can just push the TextView into the Toolbar and set at least a color or a size for it.
Something like this:
android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
android:background="@ color/white"
android:elevation="3dp"
app:contentInsetEnd="0dp"
app:contentInsetLeft="0dp"
app:contentInsetRight="0dp"
app:contentInsetStart="0dp"
app:contentInsetStartWithNavigation="0dp"
app:titleTextColor= "@color/black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/
and don't forget
getSupportActionBar().setDisplayShowTitleEnabled(false);
I can't paste the code here. I hope you understand))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question