Tab widget have always in capital alphabets in android 4.0(标签小部件在 android 4.0 中始终使用大写字母)
问题描述
在 Android 4.0 中,我放置了带有两个小部件的标签栏.在代码中我用小字母(新)编写,但在应用程序中它应该始终显示(新)如何在 android 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
推荐答案
Android 4.0 中选项卡视图的默认主题(Holo 主题)将 android:textAllCaps
设置为 true.您可以创建自己的主题,然后将其应用于清单中的操作栏以覆盖此行为.有关设置 ActionBar 样式和创建自己的样式的更多信息,请参阅:
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/主题.html和http://android-developers.blogspot.com/2011/04/customizing-action-bar.html
这篇关于标签小部件在 android 4.0 中始终使用大写字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:标签小部件在 android 4.0 中始终使用大写字母


基础教程推荐
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 降序排序:Java Map 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01