summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout/intruder_alert.xml
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-06-30 14:18:32 -0400
committerDaniel Sandler <dsandler@android.com>2010-06-30 15:32:26 -0400
commit294c9fb8990ded73be52a3c1bfddbe1cebcd8b8e (patch)
treecac20d7a41c251e57c0ff47b1f362b40d4bc8afe /packages/SystemUI/res/layout/intruder_alert.xml
parentcaad0a5c6318678902402362df1791d286636344 (diff)
downloadframeworks_base-294c9fb8990ded73be52a3c1bfddbe1cebcd8b8e.zip
frameworks_base-294c9fb8990ded73be52a3c1bfddbe1cebcd8b8e.tar.gz
frameworks_base-294c9fb8990ded73be52a3c1bfddbe1cebcd8b8e.tar.bz2
Improved graphics for the intruder alert.
Change-Id: I9aa6c8995da39f332b724fabe67ed5efe584552f
Diffstat (limited to 'packages/SystemUI/res/layout/intruder_alert.xml')
-rw-r--r--packages/SystemUI/res/layout/intruder_alert.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/packages/SystemUI/res/layout/intruder_alert.xml b/packages/SystemUI/res/layout/intruder_alert.xml
index 58dc333..24eb960 100644
--- a/packages/SystemUI/res/layout/intruder_alert.xml
+++ b/packages/SystemUI/res/layout/intruder_alert.xml
@@ -21,29 +21,35 @@
<!-- android:background="@drawable/status_bar_closed_default_background" -->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- android:background="@drawable/alert_bar_background"
- android:orientation="horizontal"
- android:focusable="true"
- android:descendantFocusability="afterDescendants"
+ android:layout_height="32dip"
+ android:layout_width="match_parent"
+ android:paddingLeft="8dip"
+ android:paddingRight="8dip"
>
<LinearLayout
+ android:id="@+id/intruder_alert_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="6dip"
+ android:gravity="center"
android:animationCache="false"
android:orientation="horizontal"
+ android:background="@drawable/alert_bar_background"
+ android:clickable="true"
+ android:focusable="true"
+ android:descendantFocusability="afterDescendants"
>
<ImageView
android:id="@+id/alertIcon"
android:layout_width="25dip"
android:layout_height="25dip"
+ android:paddingLeft="6dip"
android:layout_marginRight="8dip"
/>
<TextView
android:id="@+id/alertText"
- android:textAppearance="@*android:style/TextAppearance.StatusBar.EventContent"
+ android:textAppearance="@style/TextAppearance.StatusBar.IntruderAlert"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"