Increase scrubber padding for large devices

This commit is contained in:
Joe Stein 2019-06-15 23:27:39 +02:00
parent abcd6f772e
commit 4bc8821845
3 changed files with 17 additions and 9 deletions

View File

@ -53,7 +53,9 @@
<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
android:id="@+id/txtvPosition"
@ -67,7 +69,7 @@
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
android:id="@+id/txtvLength"
@ -81,7 +83,7 @@
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
android:id="@+id/sbPosition"
@ -97,7 +99,7 @@
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>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="scrubber_vertical_padding">12dp</dimen>
</resources>

View File

@ -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>