diff options
author | Joe Stein <joeaarons@gmail.com> | 2019-06-15 23:27:39 +0200 |
---|---|---|
committer | Joe Stein <joeaarons@gmail.com> | 2019-07-01 12:31:14 +0200 |
commit | 4bc88218455b6f4719dd5da45e336d58332b0811 (patch) | |
tree | aad51e324afe01f819483bc0102373c0d4e2e9d6 | |
parent | abcd6f772e86d7c5e351e1c9e9e99e32cf462dda (diff) | |
download | AntennaPod-4bc88218455b6f4719dd5da45e336d58332b0811.zip |
Increase scrubber padding for large devices
-rw-r--r-- | app/src/main/res/layout/mediaplayerinfo_activity.xml | 20 | ||||
-rw-r--r-- | core/src/main/res/values-h768dp/dimens.xml | 4 | ||||
-rw-r--r-- | core/src/main/res/values/dimens.xml | 2 |
3 files changed, 17 insertions, 9 deletions
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"> - <RelativeLayout + <RelativeLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:paddingTop="@dimen/scrubber_vertical_padding" + android:paddingBottom="@dimen/scrubber_vertical_padding"> - <TextView + <TextView android:id="@+id/txtvPosition" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -67,9 +69,9 @@ android:text="@string/position_default_label" android:textColor="?android:attr/textColorSecondary" android:textSize="@dimen/text_size_micro" - tools:background="@android:color/holo_green_dark" /> + tools:background="@android:color/holo_green_dark"/> - <TextView + <TextView android:id="@+id/txtvLength" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -81,9 +83,9 @@ android:text="@string/position_default_label" android:textColor="?android:attr/textColorSecondary" android:textSize="@dimen/text_size_micro" - tools:background="@android:color/holo_green_dark" /> + tools:background="@android:color/holo_green_dark"/> - <SeekBar + <SeekBar android:id="@+id/sbPosition" android:layout_width="0dp" android:layout_height="wrap_content" @@ -97,9 +99,9 @@ android:layout_toRightOf="@id/txtvPosition" android:layout_toEndOf="@id/txtvPosition" android:max="500" - tools:background="@android:color/holo_green_dark" /> + tools:background="@android:color/holo_green_dark"/> - </RelativeLayout> + </RelativeLayout> <RelativeLayout android:id="@+id/player_control" diff --git a/core/src/main/res/values-h768dp/dimens.xml b/core/src/main/res/values-h768dp/dimens.xml new file mode 100644 index 000000000..fd744e422 --- /dev/null +++ b/core/src/main/res/values-h768dp/dimens.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <dimen name="scrubber_vertical_padding">12dp</dimen> +</resources>
\ 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 @@ <dimen name="media_router_controller_playback_control_start_padding">24dp</dimen> <dimen name="media_router_controller_bottom_margin">8dp</dimen> + <dimen name="scrubber_vertical_padding">0dp</dimen> + </resources> |