标签窗口小部件始终在Android 4.0的资本字母部件、字母、资本、窗口

由网友(少女心事.)分享简介:在Android 4.0的我把标签栏有两个小部件。在$ C $词写在小alphabates(新),但在应用程序应当始终显示(新)如何写上标签的小alphabates在安卓4.0 In Android 4.0 i put tab bar with two widget.in code i write in small...

在Android 4.0的我把标签栏有两个小部件。     在$ C $词写在小alphabates(新),但在应用程序应当始终显示(新)          如何写上标签的小alphabates在安卓4.0

In Android 4.0 i put tab bar with two widget. in code i write in small alphabates(new) but in application it should always display (NEW) How to write small alphabates on tab in android 4.0

推荐答案

的默认主题中的Andr​​oid 4.0(在河洛主​​题)选项卡上的观点已安卓textAllCaps 设置为真正。你可以创建自己的主题,然后将其应用到操作栏在你的清单,以覆盖此行为。有关造型的动作条和创建自己的样式的更多信息,请参见:

The default theme for tab views in Android 4.0 (the Holo theme) has android:textAllCaps set to true. You can create your own theme and then apply it to the action bar in your manifest to override this behavior. For more information on styling the ActionBar and creating your own styles, see:

http://developer.android.com/guide/topics/ui/themes.html 和 http://android-developers.blogspot.com/2011/04/customizing-action-bar.html

阅读全文

相关推荐

最新文章