From 4bc88218455b6f4719dd5da45e336d58332b0811 Mon Sep 17 00:00:00 2001 From: Joe Stein Date: Sat, 15 Jun 2019 23:27:39 +0200 Subject: [PATCH] Increase scrubber padding for large devices --- .../res/layout/mediaplayerinfo_activity.xml | 20 ++++++++++--------- core/src/main/res/values-h768dp/dimens.xml | 4 ++++ core/src/main/res/values/dimens.xml | 2 ++ 3 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 core/src/main/res/values-h768dp/dimens.xml diff --git a/app/src/main/res/layout/mediaplayerinfo_activity.xml b/app/src/main/res/layout/mediaplayerinfo_activity.xml index c9e93e149..a6427e985 100644 --- a/app/src/main/res/layout/mediaplayerinfo_activity.xml +++ b/app/src/main/res/layout/mediaplayerinfo_activity.xml @@ -51,11 +51,13 @@ android:orientation="vertical"> - + android:layout_height="wrap_content" + android:paddingTop="@dimen/scrubber_vertical_padding" + android:paddingBottom="@dimen/scrubber_vertical_padding"> - + tools:background="@android:color/holo_green_dark"/> - + tools:background="@android:color/holo_green_dark"/> - + tools:background="@android:color/holo_green_dark"/> - + + + 12dp + \ No newline at end of file diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml index 46da1d68e..cdde0027d 100644 --- a/core/src/main/res/values/dimens.xml +++ b/core/src/main/res/values/dimens.xml @@ -40,4 +40,6 @@ 24dp 8dp + 0dp +