summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar/res
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2010-11-19 13:56:21 -0800
committerJoe Onorato <joeo@google.com>2010-11-21 16:16:27 -0800
commit46439cec0eb0da4d0f853f2d8712d0c00c98475b (patch)
tree66439c8d205d8851f16f3e51bb62327cd9ed6be1 /tests/StatusBar/res
parent804043193a46a79a8616fd7696fb781edb80b519 (diff)
downloadframeworks_base-46439cec0eb0da4d0f853f2d8712d0c00c98475b.zip
frameworks_base-46439cec0eb0da4d0f853f2d8712d0c00c98475b.tar.gz
frameworks_base-46439cec0eb0da4d0f853f2d8712d0c00c98475b.tar.bz2
Update the look of the notifications. Includes adding a new Notification.Builder class.
Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
Diffstat (limited to 'tests/StatusBar/res')
-rw-r--r--tests/StatusBar/res/layout/confirmation_activity.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/StatusBar/res/layout/confirmation_activity.xml b/tests/StatusBar/res/layout/confirmation_activity.xml
new file mode 100644
index 0000000..50d1a49
--- /dev/null
+++ b/tests/StatusBar/res/layout/confirmation_activity.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:gravity="center_horizontal"
+ android:orientation="vertical"
+ >
+
+ <TextView android:id="@+id/text"
+ style="?android:attr/textAppearanceLarge"
+ android:padding="5dip"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <Button
+ android:id="@+id/ok"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="3"
+ android:onClick="dismiss"
+ android:text="Ok" />
+
+</LinearLayout>