Update SlidingTabLayout.java

This commit is contained in:
vshcherb 2015-01-20 16:39:56 +01:00
parent 324207746e
commit a78080986f

View file

@ -98,6 +98,7 @@ public class SlidingTabLayout extends HorizontalScrollView {
mTitleOffset = (int) (TITLE_OFFSET_DIPS * getResources().getDisplayMetrics().density); mTitleOffset = (int) (TITLE_OFFSET_DIPS * getResources().getDisplayMetrics().density);
mTabStrip = new SlidingTabStrip(context); mTabStrip = new SlidingTabStrip(context);
setBackgroundColor(0xff39464d);
addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); addView(mTabStrip, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
} }
@ -311,4 +312,4 @@ public class SlidingTabLayout extends HorizontalScrollView {
} }
} }
} }