Fix icon size in intruder alerts.
(Updated test app to confirm the fix.) Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
This commit is contained in:
@@ -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
|
||||
|
||||
BIN
tests/StatusBar/res/drawable-hdpi/stat_sys_phone.png
Normal file
BIN
tests/StatusBar/res/drawable-hdpi/stat_sys_phone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
tests/StatusBar/res/drawable-mdpi/stat_sys_phone.png
Normal file
BIN
tests/StatusBar/res/drawable-mdpi/stat_sys_phone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 746 B |
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user