diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-02-02 16:45:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 16:45:57 +0100 |
commit | 6a327f252c2074de39841522272ed9448df46443 (patch) | |
tree | 597e54c071dff1e35b064c85adfb88a4b480909f /app/src/main/res | |
parent | 4a4bbe16a6eace78b3748b187ec23a00d1df64a0 (diff) | |
parent | e6d59d04d18506849f4827b1b356457d2380d5e6 (diff) | |
download | AntennaPod-6a327f252c2074de39841522272ed9448df46443.zip |
Merge pull request #3817 from ByteHamster/viewpager
Added Viewpager indicator that shows if chapters are present
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/mediaplayerinfo_activity.xml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml index 636cbb015..0f6101795 100644 --- a/app/src/main/res/layout/mediaplayerinfo_activity.xml +++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml @@ -26,16 +26,14 @@ android:minHeight="?attr/actionBarSize" tools:background="@android:color/darker_gray"/> - <com.viewpagerindicator.CirclePageIndicator + <de.danoeh.antennapod.view.PagerIndicatorView android:id="@+id/page_indicator" - android:layout_height="wrap_content" - android:layout_width="match_parent" + android:layout_height="8dp" + android:layout_width="40dp" android:layout_marginTop="-12dp" - android:layout_marginBottom="4dp" - android:background="@android:color/transparent" - app:fillColor="?android:attr/textColorSecondary" - app:strokeColor="?android:attr/textColorSecondary" - app:radius="4dp" /> + android:paddingBottom="4dp" + android:layout_gravity="center" + android:background="@android:color/transparent"/> </com.google.android.material.appbar.AppBarLayout> |