diff options
Diffstat (limited to 'app/src/main/res/layout/player_widget.xml')
-rw-r--r-- | app/src/main/res/layout/player_widget.xml | 59 |
1 files changed, 38 insertions, 21 deletions
diff --git a/app/src/main/res/layout/player_widget.xml b/app/src/main/res/layout/player_widget.xml index 4c98895a0..aa4999542 100644 --- a/app/src/main/res/layout/player_widget.xml +++ b/app/src/main/res/layout/player_widget.xml @@ -12,7 +12,7 @@ <ImageButton android:id="@+id/butPlay" android:contentDescription="@string/play_label" - android:layout_width="56dp" + android:layout_width="72dp" android:layout_height="match_parent" android:layout_alignParentRight="true" android:layout_margin="12dp" @@ -26,26 +26,43 @@ android:layout_alignParentLeft="true" android:layout_toLeftOf="@id/butPlay" android:background="@drawable/borderless_button_dark" - android:gravity="center_vertical" - android:orientation="vertical" > - - <TextView - android:id="@+id/txtvTitle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_margin="8dp" - android:maxLines="1" - android:text="@string/no_media_playing_label" - android:textColor="@color/white" - android:textSize="@dimen/text_size_medium" - android:textStyle="bold" /> - - <TextView - android:id="@+id/txtvProgress" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_margin="8dp" - android:textColor="@color/white" /> + android:gravity="fill_horizontal" + android:orientation="horizontal" > + + <ImageView + android:id="@+id/imgvCover" + android:layout_width="72dp" + android:layout_height="match_parent" + android:layout_alignParentLeft="true" + android:layout_toLeftOf="@id/layout_center" + android:layout_margin="12dp" /> + + <LinearLayout + android:id="@+id/layout_center" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + android:gravity="center_vertical" + android:orientation="vertical" > + + <TextView + android:id="@+id/txtvTitle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="8dp" + android:maxLines="1" + android:text="@string/no_media_playing_label" + android:textColor="@color/white" + android:textSize="@dimen/text_size_medium" + android:textStyle="bold" /> + + <TextView + android:id="@+id/txtvProgress" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="8dp" + android:textColor="@color/white" /> + </LinearLayout> </LinearLayout> </RelativeLayout> |