summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/res/res/values/styles.xml2
-rw-r--r--packages/SystemUI/res/layout-xlarge/ticker.xml1
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java19
3 files changed, 20 insertions, 2 deletions
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml
index 5152fe8..7a429b0 100644
--- a/core/res/res/values/styles.xml
+++ b/core/res/res/values/styles.xml
@@ -221,7 +221,7 @@
<item name="android:textStyle">bold</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Info">
- <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
<item name="android:textColor">#ff272727</item>
</style>
diff --git a/packages/SystemUI/res/layout-xlarge/ticker.xml b/packages/SystemUI/res/layout-xlarge/ticker.xml
index 993bfc6..d3a52c5 100644
--- a/packages/SystemUI/res/layout-xlarge/ticker.xml
+++ b/packages/SystemUI/res/layout-xlarge/ticker.xml
@@ -21,6 +21,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#ff1d1d1d"
+ android:paddingRight="48dp"
>
<!--
android:background="@drawable/ticker_background"
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java b/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
index e17ed11..fddb4d5 100644
--- a/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
+++ b/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
@@ -76,6 +76,24 @@ public class NotificationBuilderTest extends TestActivity
}
},
+ new Test("Basic Content w/ Info (1)") {
+ public void run() {
+ int id = 1;
+
+ Notification.Builder b = new Notification.Builder(NotificationBuilderTest.this);
+
+ b.setWhen(System.currentTimeMillis());
+ b.setSmallIcon(R.drawable.ic_statusbar_chat);
+ b.setContentTitle("Title");
+ b.setContentText("text\nline2");
+ b.setContentIntent(makeContentIntent(id));
+ b.setDeleteIntent(makeDeleteIntent(id));
+ b.setContentInfo("Snoozed");
+
+ mNM.notify(id, b.getNotification());
+ }
+ },
+
new Test("Basic Content w/ Number (1)") {
public void run() {
int id = 1;
@@ -93,7 +111,6 @@ public class NotificationBuilderTest extends TestActivity
mNM.notify(id, b.getNotification());
}
},
-
};
private PendingIntent makeContentIntent(int id) {