diff options
-rw-r--r-- | app/src/main/res/layout/audioplayer_fragment.xml | 16 | ||||
-rw-r--r-- | core/src/main/res/values/dimens.xml | 1 |
2 files changed, 9 insertions, 8 deletions
diff --git a/app/src/main/res/layout/audioplayer_fragment.xml b/app/src/main/res/layout/audioplayer_fragment.xml index 1935ce36c..37c30b4dd 100644 --- a/app/src/main/res/layout/audioplayer_fragment.xml +++ b/app/src/main/res/layout/audioplayer_fragment.xml @@ -107,10 +107,10 @@ android:id="@+id/butPlay" android:layout_width="@dimen/audioplayer_playercontrols_length_big" android:layout_height="@dimen/audioplayer_playercontrols_length_big" - android:layout_marginLeft="8dp" - android:layout_marginStart="8dp" - android:layout_marginRight="8dp" - android:layout_marginEnd="8dp" + android:layout_marginLeft="@dimen/audioplayer_playercontrols_margin" + android:layout_marginStart="@dimen/audioplayer_playercontrols_margin" + android:layout_marginRight="@dimen/audioplayer_playercontrols_margin" + android:layout_marginEnd="@dimen/audioplayer_playercontrols_margin" android:padding="8dp" android:layout_centerHorizontal="true" android:layout_centerVertical="true" @@ -145,8 +145,8 @@ android:layout_height="@dimen/audioplayer_playercontrols_length" android:layout_toLeftOf="@id/butPlay" android:layout_toStartOf="@id/butPlay" - android:layout_marginLeft="8dp" - android:layout_marginStart="8dp" + android:layout_marginLeft="@dimen/audioplayer_playercontrols_margin" + android:layout_marginStart="@dimen/audioplayer_playercontrols_margin" android:layout_centerVertical="true" android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/rewind_label" @@ -201,8 +201,8 @@ android:layout_height="@dimen/audioplayer_playercontrols_length" android:layout_toRightOf="@id/butPlay" android:layout_toEndOf="@id/butPlay" - android:layout_marginRight="8dp" - android:layout_marginEnd="8dp" + android:layout_marginRight="@dimen/audioplayer_playercontrols_margin" + android:layout_marginEnd="@dimen/audioplayer_playercontrols_margin" android:layout_centerVertical="true" android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/fast_forward_label" diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml index cfb272ad9..41a24f6fa 100644 --- a/core/src/main/res/values/dimens.xml +++ b/core/src/main/res/values/dimens.xml @@ -31,6 +31,7 @@ <dimen name="audioplayer_playercontrols_length">48dp</dimen> <dimen name="audioplayer_playercontrols_length_big">64dp</dimen> + <dimen name="audioplayer_playercontrols_margin">12dp</dimen> <dimen name="media_router_controller_playback_control_vertical_padding">16dp</dimen> <dimen name="media_router_controller_playback_control_horizontal_spacing">12dp</dimen> |