diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2021-01-01 18:49:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-01 18:49:03 +0100 |
commit | 7c93bc5140d3f30cd4d3ea589e4e1772ea57fd98 (patch) | |
tree | 4589b2a4adbb57f4f665965fbe2ab302eb2acb92 /app/src/main/res | |
parent | f3c76e7677f7138d0ce7636f81f020da0d68584e (diff) | |
download | AntennaPod-7c93bc5140d3f30cd4d3ea589e4e1772ea57fd98.zip |
Added textual tab indicator to player screen (#4731)
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/audioplayer_fragment.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/src/main/res/layout/audioplayer_fragment.xml b/app/src/main/res/layout/audioplayer_fragment.xml index 225fdd98c..3b065cefc 100644 --- a/app/src/main/res/layout/audioplayer_fragment.xml +++ b/app/src/main/res/layout/audioplayer_fragment.xml @@ -15,15 +15,15 @@ app:navigationIcon="?homeAsUpIndicator" android:id="@+id/toolbar"/> - <de.danoeh.antennapod.view.PagerIndicatorView - android:id="@+id/page_indicator" - android:layout_height="16dp" - android:layout_width="40dp" - android:layout_marginTop="-12dp" - android:padding="4dp" + <com.google.android.material.tabs.TabLayout + android:id="@+id/sliding_tabs" + android:layout_width="match_parent" + android:layout_height="wrap_content" android:layout_below="@id/toolbar" - android:contentDescription="@string/switch_pages" - android:layout_centerHorizontal="true"/> + android:background="?android:attr/windowBackground" + app:tabBackground="?attr/selectableItemBackground" + app:tabMode="fixed" + app:tabGravity="fill"/> <FrameLayout android:id="@+id/playerFragment" @@ -39,7 +39,7 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_above="@id/playtime_layout" - android:layout_below="@id/toolbar" + android:layout_below="@id/sliding_tabs" android:foreground="?android:windowContentOverlay" android:layout_marginBottom="12dp"/> |