활동 xml에서 viewpager 위에 진행률 표시 줄을 추가해야합니다.
-------------------내 솔루션 :
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="huhu" />
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
이제 TextView가 탭과 조각 사이에 표시됩니다.
출처
https://stackoverflow.com/questions/22079810