A demo project modified by PagerSlidingTabStrip for styling like Meizu Flyme 3.0
- Clone the project.
- Copy
PagerSlidingStrip.java
to your project. - Available attributions are defined at
/res/values/attrs.xml
- Add the following code to your layout file.
<me.mobilelin.meizu.lib.PagerSlidingStrip
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="48dip"
android:background="@null"
pss:indicator_color="@color/mz_strip_indicator" />