0

仍然无法删除操作栏下方的阴影。我正在使用 SlidingTabLayout、SlidingTabStrip 和 FragmentActivity。

我已经尝试过了:

actionBar.setBackgroundDrawable();

在 SlidingTabLayout 中:

tabTitleView.setTextColor(); 
tabTitleView.setBackgroundColor();

但是,当在阴影中设置背景颜色时tabTitleView消失了,但我再也看不到指示器颜色了。

4

1 回答 1

0

I found solution on the reddit, you should to set windowContentOverlay to @null by defauld in your style.xml

Or try this method from Android SDK to your action bar

于 2015-01-20T14:07:02.923 回答