JakeWharton / ViewPagerIndicator

Paging indicator widgets compatible with the ViewPager from the Android Support Library and ActionBarSherlock.
http://viewpagerindicator.com
10.13k stars 4.01k forks source link

Indicator is not visible on 5.0 and greater #413

Open evil-genius-ss opened 8 years ago

evil-genius-ss commented 8 years ago

its working perfectly on kitkat but on lollipop no indicator is been shown. Can you fix that?

msdx commented 8 years ago

I didn't meet this problem. Could you post more information?

subhannaeem commented 8 years ago

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 7 years ago
 <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 7 years ago

i met this problem, how do you solve it,please?