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. 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
.
为android:backgroundSplit
属性设置透明颜色即可。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.