Merge pull request #3233 from jas14/pad-scrubber

Pad scrubber on large devices
This commit is contained in:
H. Lehmann 2019-07-13 17:01:36 +02:00 committed by GitHub
commit 9fe4fed874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>