Toolbar title size decreases when screen is change to landscape screen, for that I want to add a textsize in the AndroidManifest Activity. This is my code
<activity android:name=".Transportation"
android:label="Transportation">
<intent-filter>
<action android:name="android.intent.action.TRANSPORTATION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".Transportation">
</meta-data>
</activity>
you can not change the toolbar text size in the manifest. you will need to add a style to the toolbar in the activity xml file. check out this: change toolbar text size
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.