diff options
Diffstat (limited to 'core/src/main/res/layout')
-rw-r--r-- | core/src/main/res/layout/player_widget.xml | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/core/src/main/res/layout/player_widget.xml b/core/src/main/res/layout/player_widget.xml index ec8472517..a70e98f0f 100644 --- a/core/src/main/res/layout/player_widget.xml +++ b/core/src/main/res/layout/player_widget.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" +<FrameLayout + xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:padding="@dimen/widget_margin" > + android:padding="@dimen/widget_margin" + tools:ignore="VectorDrawableCompat"> <RelativeLayout android:id="@+id/widgetLayout" @@ -15,16 +16,16 @@ <ImageButton android:id="@+id/butPlay" - android:contentDescription="@string/play_label" android:layout_width="@android:dimen/app_icon_size" android:layout_height="match_parent" + android:contentDescription="@string/play_label" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" android:layout_margin="12dp" android:background="?android:attr/selectableItemBackground" android:scaleType="fitCenter" android:padding="8dp" - app:srcCompat="@drawable/ic_play_24dp" /> + android:src="@drawable/ic_widget_play" /> <LinearLayout android:id="@+id/layout_left" @@ -36,13 +37,13 @@ android:layout_toStartOf="@id/butPlay" android:background="@android:color/transparent" android:gravity="fill_horizontal" - android:orientation="horizontal" > + android:orientation="horizontal"> <ImageView android:id="@+id/imgvCover" android:layout_width="@android:dimen/app_icon_size" android:layout_height="match_parent" - app:srcCompat="@mipmap/ic_launcher_round" + android:src="@mipmap/ic_launcher_round" android:importantForAccessibility="no" android:layout_margin="12dp" /> @@ -51,7 +52,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_vertical" - android:orientation="vertical" > + android:orientation="vertical"> <TextView android:id="@+id/txtNoPlaying" @@ -99,7 +100,7 @@ android:layout_marginRight="2dp" android:layout_marginEnd="2dp" android:scaleType="fitXY" - app:srcCompat="@drawable/ic_fast_rewind"/> + android:src="@drawable/ic_widget_fast_rewind" /> <ImageButton android:id="@+id/butPlayExtended" @@ -110,7 +111,7 @@ android:layout_marginRight="2dp" android:layout_marginEnd="2dp" android:scaleType="fitXY" - app:srcCompat="@drawable/ic_play_48dp"/> + android:src="@drawable/ic_widget_play" /> <ImageButton android:id="@+id/butFastForward" @@ -121,7 +122,7 @@ android:layout_marginRight="2dp" android:layout_marginEnd="2dp" android:scaleType="fitXY" - app:srcCompat="@drawable/ic_fast_forward"/> + android:src="@drawable/ic_widget_fast_forward" /> <ImageButton android:id="@+id/butSkip" @@ -132,9 +133,14 @@ android:layout_marginRight="2dp" android:layout_marginEnd="2dp" android:scaleType="fitXY" - app:srcCompat="@drawable/ic_skip_24dp"/> + android:src="@drawable/ic_widget_skip" /> + </LinearLayout> + </LinearLayout> + </LinearLayout> + </RelativeLayout> -</FrameLayout>
\ No newline at end of file + +</FrameLayout> |