I am trying to use an ActionBar based on the Appompat toolbar
Here is my toolbar.xml
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="bottom" android:paddingBottom="0dp" android:background="?attr/colorPrimaryDark"> </android.support.v7.widget.Toolbar>
I am including this in my activity.xml file. And then in my Activity OnCreate method, I set a custom PagerStrip in an ActionBar
ActionBar actionBar = getSupportActionBar(); actionBar.setCustomView(R.layout.pager_strip); actionBar.setDisplayShowCustomEnabled(true); tabs = (PagerSlidingTabStrip) actionBar.getCustomView().findViewById(R.id.tabs_strip); tabs.setViewPager(mPager);
Under my PagerStrip in ActionBar there is a lining. I want to remove this add-on. here is a photo showing the problem. 
This works great with ActionBarSherlock
android android-activity appcompat
Shakti malik
source share