Appcelerator,无法更改 android 中的 tabsBackgroundColor
Appcelerator , can not change tabsBackgroundColor in android
tagGroup 标签中的属性 tabsBackgroundColor 在 android
上不起作用
<TabGroup tabsBackgroundColor="#a466a3">
背景颜色也不起作用,尽管它写在文档中
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup
您需要修改主题文件/创建自定义 android 主题来设置选项卡的外观。
http://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes
如果您阅读了这篇文章,您将了解如何添加和设置自定义主题以覆盖 Titanium 为您提供的基本主题。
您要修改的背景色 XML 属性 是 actionBarTabStyle
一个有用但旧的工具可以用来自动生成它是 https://jgilfelt.github.io/android-actionbarstylegenerator/
tagGroup 标签中的属性 tabsBackgroundColor 在 android
上不起作用 <TabGroup tabsBackgroundColor="#a466a3">
背景颜色也不起作用,尽管它写在文档中 http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup
您需要修改主题文件/创建自定义 android 主题来设置选项卡的外观。 http://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes
如果您阅读了这篇文章,您将了解如何添加和设置自定义主题以覆盖 Titanium 为您提供的基本主题。
您要修改的背景色 XML 属性 是 actionBarTabStyle
一个有用但旧的工具可以用来自动生成它是 https://jgilfelt.github.io/android-actionbarstylegenerator/