Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the Menu text size

I had tried change the style like this:

<item name="android:actionMenuTextAppearance">@style/MenuTextStyle</item>
<stylename="MenuTextStyle"parent="@style/TextAppearance.AppCompat.Widget.ActionBar.Menu">
        <item name="android:textColor">@android:color/white</item>
        <item name="android:textSize">16sp</item>
</style>

But it did work. sorry for my english. If you know it, tell me please. Thank you in advance!

like image 889
alanchen Avatar asked Apr 24 '15 09:04

alanchen


People also ask

How do I change the menu font size in Windows 10?

To change your display in Windows, select Start > Settings > Ease of Access > Display. To make only the text on your screen larger, adjust the slider under Make text bigger. To make everything larger, including images and apps, choose an option from the drop-down menu under Make everything bigger.

How do I make the font on the menu bar bigger?

Click on the menubar (three horizontal lines) and select preferences (or you can just do command-,). Then, in the searchbar at the top, type in "fonts". From here you are able to change the font, make the size bigger and change the colour.

How do I change the menu font size in Chrome?

Open the Chrome browser. Click the Customize and control Google Chrome  icon in the upper-right corner of the browser window. Near the top of the drop-down menu that appears, you can use the + (plus) or - (minus) in the Zoom section of the menu to increase or decrease the font size.


1 Answers

In your application's base theme, add the following item:

<item name="android:actionMenuTextAppearance">@style/customActionBar</item>

Then define customActionBar as follows:

<style name="customActionBar" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Menu">
    <item name="android:textSize">16sp</item>
</style>
like image 127
VjLxmi Avatar answered Sep 29 '22 22:09

VjLxmi