开发者

Change menu button using XML configuration

开发者 https://www.devze.com 2023-01-01 11:54 出处:网络
If I create anOptions menu with menu.xml, can I change the menu buttons\' standard text size, color etc? I would like 开发者_JAVA百科to change text size, bold, and color.

If I create an Options menu with menu.xml, can I change the menu buttons' standard text size, color etc? I would like 开发者_JAVA百科to change text size, bold, and color.

I would like to avoid using themes and styles for this application.


=( Sorry you can't change text size or color creatin a menu from an .xml file.


Actually, you can, try this solution: http://www.techjini.com/blog/2011/04/19/customizing-background-and-text-color-in-options-menu-android/

0

精彩评论

暂无评论...
验证码 换一张
取 消