aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/notification_expanded.xml35
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"