Indicator is not visible on 5.0 and greater
evil-genius-ss opened this issue · 4 comments
evil-genius-ss commented
its working perfectly on kitkat but on lollipop no indicator is been shown. Can you fix that?
msdx commented
I didn't meet this problem. Could you post more information?
subhannaeem commented
In API >= 5.0 Page indicator goes behind the View pager and wont come at the top of the Views of ViewPager content
vancelopes commented
<RelativeLayout
android:layout_width="match_parent"
android:background="@color/colorAccent"
android:layout_height="100dp">
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/btn.continue"
android:id="@+id/btn_continue"
android:background="@color/colorAccent"
android:layout_alignParentBottom="true"
android:textColor="@android:color/white"
android:maxWidth="0dp"
android:minHeight="0dp"
android:paddingBottom="24dp"
android:paddingTop="8dp" />
<com.viewpagerindicator.CirclePageIndicator
android:id="@+id/indicator_create"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:background="@android:color/transparent"
app:radius="4dp"
app:fillColor="@android:color/white"
app:pageColor="@color/colorTransBlack"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true" />
</RelativeLayout>
Expected: Show a RelativeLayout with a Button and Indicator listed above
Result: Indicator not shown.
I noticed something: When I dim the screen using a dialog, the indicator appears normally.
commutescript commented
i met this problem, how do you solve it,please?