aboutsummaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-11-20 19:08:16 -0800
committerScott Jackson <daneren2005@gmail.com>2013-11-20 19:08:16 -0800
commitab7b152922e3fb417ace6d9b0ebb3aef76e21f98 (patch)
tree5f89ece85504e6b845652c08140f6a1115e45926 /res/layout
parent1ace88b03e75e07c69f3030b27a8d74750a73364 (diff)
downloaddsub-ab7b152922e3fb417ace6d9b0ebb3aef76e21f98.tar.gz
dsub-ab7b152922e3fb417ace6d9b0ebb3aef76e21f98.tar.bz2
dsub-ab7b152922e3fb417ace6d9b0ebb3aef76e21f98.zip
Better expanded notification
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/notification_expanded.xml39
1 files changed, 20 insertions, 19 deletions
diff --git a/res/layout/notification_expanded.xml b/res/layout/notification_expanded.xml
index e2246506..3e2c7fcd 100644
--- a/res/layout/notification_expanded.xml
+++ b/res/layout/notification_expanded.xml
@@ -58,40 +58,41 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:layout_gravity="center|fill"
- android:gravity="center_horizontal"
- android:orientation="horizontal" >
+ android:orientation="horizontal"
+ android:showDividers="middle"
+ android:divider="?android:listDivider">
<ImageButton
android:id="@+id/control_previous"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
android:layout_gravity="center"
- android:layout_weight="0.0"
+ android:layout_weight="1"
+ android:padding="10dip"
android:background="@drawable/btn_bg"
- android:scaleType="fitXY"
+ android:scaleType="fitCenter"
android:src="@drawable/notification_previous" />
<ImageButton
android:id="@+id/control_pause"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_weight="0.0"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_gravity="center"
+ android:layout_weight="1"
+ android:padding="10dip"
android:background="@drawable/btn_bg"
- android:scaleType="fitXY"
+ android:scaleType="fitCenter"
android:src="@drawable/notification_pause" />
<ImageButton
android:id="@+id/control_next"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="0.0"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_gravity="center"
+ android:layout_weight="1"
+ android:padding="10dip"
android:background="@drawable/btn_bg"
- android:scaleType="fitXY"
+ android:scaleType="fitCenter"
android:src="@drawable/notification_next" />
</LinearLayout>