Android 从TabHost中删除图标空间
我需要删除文本和上边框之间的空格。我希望它与中心对齐 现在我的TabHost看起来像这样 我需要转换成这样的东西 My styles.xmlAndroid 从TabHost中删除图标空间,android,android-tabhost,tabwidget,tabview,Android,Android Tabhost,Tabwidget,Tabview,我需要删除文本和上边框之间的空格。我希望它与中心对齐 现在我的TabHost看起来像这样 我需要转换成这样的东西 My styles.xml <resources xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Base application theme, dependent on API level. This theme is replaced by AppBaseTh
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
<item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="android:tabWidgetStyle">@style/LightTabWidget</item>
</style>
<style name="MyActionBar" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:background">#0767de</item>
</style>
<style name="MyActionBar1" parent="@android:style/Widget.Holo.Light.ActionBar">
<item name="android:textColor">#ffffff</item>
</style>
<style name="LightTabWidget" parent="@android:style/Widget.TabWidget">
<!-- set textColor to red, so you can verify that it applied. -->
<item name="android:textColor">#0767de</item>w
<item name="android:textSize">14sp</item>
<item name="android:tabStripEnabled">false</item>
</style>
@样式/MyActionBar
@样式/LightTabWidget
#0767de
#ffffff
#0767露水
14便士
假的
提前谢谢