Make widget buttons fill all horizontal space (#6031)
This commit is contained in:
parent
7042b8d616
commit
732462438a
|
@ -92,50 +92,55 @@
|
|||
android:id="@+id/butPlaybackSpeed"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/playback_speed"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:scaleType="fitXY"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_widget_playback_speed" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butRew"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/rewind_label"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:scaleType="fitXY"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_widget_fast_rewind" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butPlayExtended"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/play_label"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:scaleType="fitXY"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_widget_play" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butFastForward"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/fast_forward_label"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:scaleType="fitXY"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_widget_fast_forward" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butSkip"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/skip_episode_label"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:scaleType="fitXY"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@drawable/ic_widget_skip" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:width="48dp"
|
||||
android:height="48dp"
|
||||
android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0">
|
||||
<path android:fillColor="#ffffff" android:pathData="M6,18l8.5,-6L6,6v12zM16,6v12h2V6h-2z"/>
|
||||
|
|
Loading…
Reference in New Issue