am b59b9445
: Fix icon size in intruder alerts.
Merge commit 'b59b94456b3a8fdfdf524a81274839f657fbb65b' into gingerbread-plus-aosp * commit 'b59b94456b3a8fdfdf524a81274839f657fbb65b': Fix icon size in intruder alerts.
This commit is contained in:
@ -44,7 +44,7 @@
|
|||||||
android:id="@+id/alertIcon"
|
android:id="@+id/alertIcon"
|
||||||
android:layout_width="25dip"
|
android:layout_width="25dip"
|
||||||
android:layout_height="25dip"
|
android:layout_height="25dip"
|
||||||
android:paddingLeft="6dip"
|
android:layout_marginLeft="6dip"
|
||||||
android:layout_marginRight="8dip"
|
android:layout_marginRight="8dip"
|
||||||
/>
|
/>
|
||||||
<TextView
|
<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") {
|
new Test("Priority notification") {
|
||||||
public void run() {
|
public void run() {
|
||||||
Notification not = new Notification(StatusBarTest.this,
|
Notification not = new Notification(StatusBarTest.this,
|
||||||
R.drawable.ic_statusbar_missedcall,
|
R.drawable.stat_sys_phone,
|
||||||
"tick tick tick",
|
"Incoming call from: Imperious Leader",
|
||||||
System.currentTimeMillis()-(1000*60*60*24),
|
System.currentTimeMillis()-(1000*60*60*24),
|
||||||
"(453) 123-2328",
|
"Imperious Leader",
|
||||||
"", null
|
"(888) 555-5038",
|
||||||
|
null
|
||||||
);
|
);
|
||||||
not.flags |= Notification.FLAG_HIGH_PRIORITY;
|
not.flags |= Notification.FLAG_HIGH_PRIORITY;
|
||||||
Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class);
|
Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class);
|
||||||
|
Reference in New Issue
Block a user