diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-03-24 20:36:34 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-03-24 20:36:34 -0700 |
commit | 2292312f402048db15107bebb6c36236e5bcf591 (patch) | |
tree | 4f44f8f0b733aa5e58f4d87c6ee13c583bb388e0 /res | |
parent | e17f51685e633ca2fff6512cf44e87ad660aa396 (diff) | |
download | dsub-2292312f402048db15107bebb6c36236e5bcf591.tar.gz dsub-2292312f402048db15107bebb6c36236e5bcf591.tar.bz2 dsub-2292312f402048db15107bebb6c36236e5bcf591.zip |
#313 Add x for remote, make it stop + disconnect
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/notification_expanded.xml | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/res/layout/notification_expanded.xml b/res/layout/notification_expanded.xml index 3e2c7fcd..5fc4156a 100644 --- a/res/layout/notification_expanded.xml +++ b/res/layout/notification_expanded.xml @@ -19,15 +19,32 @@ android:orientation="vertical" android:paddingLeft="11.0dip" > - <TextView - android:id="@+id/notification_title" - style="@android:style/TextAppearance.StatusBar.EventContent.Title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="left" - android:ellipsize="marquee" - android:focusable="true" - android:singleLine="true" /> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <TextView + android:id="@+id/notification_title" + style="@android:style/TextAppearance.StatusBar.EventContent.Title" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_gravity="left" + android:ellipsize="marquee" + android:focusable="true" + android:singleLine="true" /> + + <ImageButton + android:id="@+id/notification_close" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/notification_close" + android:background="@drawable/btn_bg" + android:padding="10dip" + android:layout_gravity="right" + android:visibility="gone"/> + </LinearLayout> <TextView android:id="@+id/notification_artist" |