diff options
Diffstat (limited to 'app/src/main/res/layout/mediaplayerinfo_activity.xml')
-rw-r--r-- | app/src/main/res/layout/mediaplayerinfo_activity.xml | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml index d434c3f13..212d8b9d8 100644 --- a/app/src/main/res/layout/mediaplayerinfo_activity.xml +++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml @@ -4,44 +4,35 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/drawer_layout" android:layout_width="match_parent" - android:layout_height="match_parent" - tools:background="@android:color/holo_red_dark"> + android:layout_height="match_parent"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> - <com.google.android.material.appbar.AppBarLayout - android:id="@+id/appBar" - android:layout_width="match_parent" - android:layout_height="wrap_content"> - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:background="?attr/colorPrimary" android:minHeight="?attr/actionBarSize" - tools:background="@android:color/darker_gray"/> - - <de.danoeh.antennapod.view.PagerIndicatorView - android:id="@+id/page_indicator" - android:layout_height="8dp" - android:layout_width="40dp" - android:layout_marginTop="-12dp" - android:paddingBottom="4dp" - android:layout_gravity="center" - android:background="@android:color/transparent" /> + android:theme="?attr/actionBarTheme" + android:layout_alignParentTop="true" + android:id="@+id/toolbar"/> - </com.google.android.material.appbar.AppBarLayout> + <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" + android:layout_below="@id/toolbar" + android:layout_centerHorizontal="true"/> <androidx.viewpager.widget.ViewPager android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="0dp" android:layout_above="@id/playtime_layout" - android:layout_below="@id/appBar" + android:layout_below="@id/toolbar" android:foreground="?android:windowContentOverlay" tools:background="@android:color/holo_orange_light" android:layout_marginBottom="12dp" /> |