Fix icon size in intruder alerts.

(Updated test app to confirm the fix.)

Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
This commit is contained in:
Daniel Sandler
2010-06-30 16:25:33 -04:00
parent 2e6aff8e19
commit b59b94456b
4 changed files with 6 additions and 5 deletions

View File

@@ -44,7 +44,7 @@
android:id="@+id/alertIcon"
android:layout_width="25dip"
android:layout_height="25dip"
android:paddingLeft="6dip"
android:layout_marginLeft="6dip"
android:layout_marginRight="8dip"
/>
<TextView

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

View File

@@ -89,11 +89,12 @@ public class StatusBarTest extends TestActivity
new Test("Priority notification") {
public void run() {
Notification not = new Notification(StatusBarTest.this,
R.drawable.ic_statusbar_missedcall,
"tick tick tick",
R.drawable.stat_sys_phone,
"Incoming call from: Imperious Leader",
System.currentTimeMillis()-(1000*60*60*24),
"(453) 123-2328",
"", null
"Imperious Leader",
"(888) 555-5038",
null
);
not.flags |= Notification.FLAG_HIGH_PRIORITY;
Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class);