summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/player_widget.xml71
-rw-r--r--res/values/colors.xml1
2 files changed, 42 insertions, 30 deletions
diff --git a/res/layout/player_widget.xml b/res/layout/player_widget.xml
index fc26f2a9d..6d53a55fe 100644
--- a/res/layout/player_widget.xml
+++ b/res/layout/player_widget.xml
@@ -1,40 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/white"
android:padding="@dimen/widget_margin" >
- <ImageButton
- android:id="@+id/butPlay"
- android:layout_width="56dp"
+ <RelativeLayout
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_margin="12dp"
- android:background="@drawable/borderless_button"
- android:src="@drawable/av_play" />
+ android:background="@color/white" >
- <LinearLayout
- android:id="@+id/layout_left"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_toLeftOf="@id/butPlay"
- android:orientation="vertical" >
+ <ImageButton
+ android:id="@+id/butPlay"
+ android:layout_width="56dp"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_margin="12dp"
+ android:background="@drawable/borderless_button"
+ android:src="@drawable/av_play" />
+
+ <LinearLayout
+ android:id="@+id/layout_left"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/butPlay"
+ android:background="@drawable/borderless_button"
+ android:gravity="center_vertical"
+ android:orientation="vertical" >
- <TextView
- android:id="@+id/txtvTitle"
- android:textColor="@color/black"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:textStyle="bold" />
+ <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/black"
+ android:textSize="18dp"
+ android:textStyle="bold" />
- <TextView
- android:id="@+id/txtvProgress"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="8dp" />
- </LinearLayout>
+ <TextView
+ android:id="@+id/txtvProgress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:textColor="@color/ics_gray" />
+ </LinearLayout>
+ </RelativeLayout>
-</RelativeLayout> \ No newline at end of file
+</FrameLayout> \ No newline at end of file
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 8a8dc03e7..5ee44ecc5 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -18,6 +18,7 @@
<color name="navy">#000080</color>
<color name="black">#000000</color>
<color name="bright_blue">#33B5E5</color>
+ <color name="ics_gray">#858585</color>
<color name="selection_background">#FEBB20</color>
</resources> \ No newline at end of file