summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-08-27 22:49:15 -0400
committerDaniel Sandler <dsandler@android.com>2010-09-01 14:02:30 -0400
commit8f8fcfa319e0e0af14aa8f8555be58555703af02 (patch)
tree16c87ff384fc21818d5e62978ea0bd29a85be9c5
parent1751086360056bc60d00f2ed2988bc82be9e7bd9 (diff)
downloadframeworks_base-8f8fcfa319e0e0af14aa8f8555be58555703af02.zip
frameworks_base-8f8fcfa319e0e0af14aa8f8555be58555703af02.tar.gz
frameworks_base-8f8fcfa319e0e0af14aa8f8555be58555703af02.tar.bz2
Notifications are now light-on-dark in the windowshade.
Finally. This also fixes that little 1px gap that would occasionally show through to the carbon fiber background (changed to steel cord for now) between the last notification and the windowshade's handlebar. It still gaps a little while you're dragging, due to the asynchronous motion of the various windows involved, but when the panel is still you shouldn't see any background. (Man, that drove me crazy.) Bug: 2949229 Change-Id: If085f4ab7dfb7c3868c30469661907d5d63f070b
-rw-r--r--core/res/res/drawable-hdpi/status_bar_item_app_background_normal.9.pngbin322 -> 98 bytes
-rw-r--r--core/res/res/drawable-hdpi/status_bar_item_background_normal.9.pngbin197 -> 2800 bytes
-rw-r--r--core/res/res/drawable-mdpi/divider_horizontal_dark_opaque.9.pngbin2805 -> 0 bytes
-rw-r--r--core/res/res/drawable-mdpi/status_bar_item_app_background_normal.9.pngbin3013 -> 98 bytes
-rw-r--r--core/res/res/drawable-mdpi/status_bar_item_background_normal.9.pngbin186 -> 2835 bytes
-rw-r--r--core/res/res/values/styles.xml6
-rw-r--r--packages/SystemUI/res/drawable-hdpi/divider_horizontal_dark_opaque.9.pngbin0 -> 2747 bytes
-rw-r--r--packages/SystemUI/res/drawable-hdpi/status_bar_item_app_background_normal.9.pngbin322 -> 0 bytes
-rw-r--r--packages/SystemUI/res/drawable-mdpi/divider_horizontal_dark_opaque.9.png (renamed from core/res/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png)bin2805 -> 2805 bytes
-rw-r--r--packages/SystemUI/res/drawable-mdpi/status_bar_item_app_background_normal.9.pngbin3013 -> 0 bytes
-rw-r--r--packages/SystemUI/res/layout/status_bar.xml2
-rw-r--r--packages/SystemUI/res/layout/status_bar_latest_event.xml4
12 files changed, 5 insertions, 7 deletions
diff --git a/core/res/res/drawable-hdpi/status_bar_item_app_background_normal.9.png b/core/res/res/drawable-hdpi/status_bar_item_app_background_normal.9.png
index 4fbfa4f..bdcb378 100644
--- a/core/res/res/drawable-hdpi/status_bar_item_app_background_normal.9.png
+++ b/core/res/res/drawable-hdpi/status_bar_item_app_background_normal.9.png
Binary files differ
diff --git a/core/res/res/drawable-hdpi/status_bar_item_background_normal.9.png b/core/res/res/drawable-hdpi/status_bar_item_background_normal.9.png
index c01c018..fa27ee4 100644
--- a/core/res/res/drawable-hdpi/status_bar_item_background_normal.9.png
+++ b/core/res/res/drawable-hdpi/status_bar_item_background_normal.9.png
Binary files differ
diff --git a/core/res/res/drawable-mdpi/divider_horizontal_dark_opaque.9.png b/core/res/res/drawable-mdpi/divider_horizontal_dark_opaque.9.png
deleted file mode 100644
index 9444f0d..0000000
--- a/core/res/res/drawable-mdpi/divider_horizontal_dark_opaque.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable-mdpi/status_bar_item_app_background_normal.9.png b/core/res/res/drawable-mdpi/status_bar_item_app_background_normal.9.png
index c079615..bdcb378 100644
--- a/core/res/res/drawable-mdpi/status_bar_item_app_background_normal.9.png
+++ b/core/res/res/drawable-mdpi/status_bar_item_app_background_normal.9.png
Binary files differ
diff --git a/core/res/res/drawable-mdpi/status_bar_item_background_normal.9.png b/core/res/res/drawable-mdpi/status_bar_item_background_normal.9.png
index b8e399d..f0e4d06 100644
--- a/core/res/res/drawable-mdpi/status_bar_item_background_normal.9.png
+++ b/core/res/res/drawable-mdpi/status_bar_item_background_normal.9.png
Binary files differ
diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml
index af04117..bab8415 100644
--- a/core/res/res/values/styles.xml
+++ b/core/res/res/values/styles.xml
@@ -188,7 +188,8 @@
<!-- Status Bar Styles -->
<style name="TextAppearance.StatusBar">
- <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
+ <item name="android:textSize">14sp</item>
+ <item name="android:textStyle">normal</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
</style>
<style name="TextAppearance.StatusBar.Ticker">
@@ -201,10 +202,9 @@
<item name="android:textStyle">bold</item>
</style>
<style name="TextAppearance.StatusBar.EventContent">
- <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
</style>
<style name="TextAppearance.StatusBar.EventContent.Title">
- <item name="android:textSize">18sp</item>
+ <item name="android:textSize">16sp</item>
<item name="android:textStyle">bold</item>
</style>
diff --git a/packages/SystemUI/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png b/packages/SystemUI/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png
new file mode 100644
index 0000000..d21aad2
--- /dev/null
+++ b/packages/SystemUI/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png
Binary files differ
diff --git a/packages/SystemUI/res/drawable-hdpi/status_bar_item_app_background_normal.9.png b/packages/SystemUI/res/drawable-hdpi/status_bar_item_app_background_normal.9.png
deleted file mode 100644
index 4fbfa4f..0000000
--- a/packages/SystemUI/res/drawable-hdpi/status_bar_item_app_background_normal.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png b/packages/SystemUI/res/drawable-mdpi/divider_horizontal_dark_opaque.9.png
index 9444f0d..9444f0d 100644
--- a/core/res/res/drawable-hdpi/divider_horizontal_dark_opaque.9.png
+++ b/packages/SystemUI/res/drawable-mdpi/divider_horizontal_dark_opaque.9.png
Binary files differ
diff --git a/packages/SystemUI/res/drawable-mdpi/status_bar_item_app_background_normal.9.png b/packages/SystemUI/res/drawable-mdpi/status_bar_item_app_background_normal.9.png
deleted file mode 100644
index c079615..0000000
--- a/packages/SystemUI/res/drawable-mdpi/status_bar_item_app_background_normal.9.png
+++ /dev/null
Binary files differ
diff --git a/packages/SystemUI/res/layout/status_bar.xml b/packages/SystemUI/res/layout/status_bar.xml
index 5fe8e79..423cf5a 100644
--- a/packages/SystemUI/res/layout/status_bar.xml
+++ b/packages/SystemUI/res/layout/status_bar.xml
@@ -55,8 +55,6 @@
android:layout_height="match_parent"
android:singleLine="true"
android:paddingRight="6dip"
- android:textSize="16sp"
- android:textStyle="bold"
android:gravity="center_vertical|left"
/>
</LinearLayout>
diff --git a/packages/SystemUI/res/layout/status_bar_latest_event.xml b/packages/SystemUI/res/layout/status_bar_latest_event.xml
index 88d9739..65c731b 100644
--- a/packages/SystemUI/res/layout/status_bar_latest_event.xml
+++ b/packages/SystemUI/res/layout/status_bar_latest_event.xml
@@ -16,8 +16,8 @@
<View
android:layout_width="match_parent"
- android:layout_height="1sp"
- android:background="@android:drawable/divider_horizontal_bright"
+ android:layout_height="wrap_content"
+ android:background="@drawable/divider_horizontal_dark_opaque"
/>
</LinearLayout>