[英]Split action bar not transparent
I've applied a custom theme to make my tabs and action bar transparent. 我应用了自定义主题,以使标签和操作栏透明。 But when I add the splitActionBarWhenNarrow attribute to the manifest the bottom action bar is no longer transparent.
但是,当我向清单中添加splitActionBarWhenNarrow属性时,底部操作栏不再透明。 Does anyone know how to make the split action bar maintain the style I applied?
有谁知道如何使拆分操作栏保持我应用的样式?
Thanks! 谢谢!
Have you styled both the regular action bar and the split action bar? 您是否同时设置了常规操作栏和拆分操作栏的样式? The two are actually styled separately.
两者实际上是分别设置样式的。
Regular action bar is styled with actionBarStyle
while split action bar is styled with actionBarSplitStyle
. 常规操作栏使用
actionBarStyle
样式,拆分操作栏使用actionBarSplitStyle
样式。
为android:backgroundSplit
属性设置透明颜色即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.