Window title text size

Hi

I would like to know what attributes should I use in xml to set the title bar text size?

+5
source share
1 answer

The following code will help increase the size of the window title and its text size. Hope this helps.

<style name="LargeTitleTheme">
    <item name="android:windowTitleSize">50dip</item>
    <item name="android:windowTitleStyle">@style/titleTextStyle</item>
   </style>

<style name="titleTextStyle" >
    <item name="android:textSize">20dip</item>
    <item name="android:textColor">#FFFFFF</item>
</style>

After declaring the styles, apply this style in the application tag or activity tag from App Manifest.

<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/LargeTitleTheme">
+4
source

All Articles