Merge "DO NOT MERGE Apply new styles to the status bar/notification shade" into gingerbread
|
Before Width: | Height: | Size: 1.3 KiB |
BIN
core/res/res/drawable-hdpi/stat_sys_adb.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1008 B After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 98 B After Width: | Height: | Size: 322 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 193 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -202,10 +202,12 @@
|
||||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
<style name="TextAppearance.StatusBar.EventContent">
|
||||
<item name="android:textColor">#ff6b6b6b</item>
|
||||
</style>
|
||||
<style name="TextAppearance.StatusBar.EventContent.Title">
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
|
||||
</style>
|
||||
|
||||
<!-- Widget Styles -->
|
||||
|
||||
BIN
packages/SystemUI/res/drawable-hdpi/btn_default_small_normal.9.png
Normal file → Executable file
|
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 1.7 KiB |
BIN
packages/SystemUI/res/drawable-hdpi/btn_default_small_normal_disable.9.png
Normal file → Executable file
|
Before Width: | Height: | Size: 541 B After Width: | Height: | Size: 1.6 KiB |
BIN
packages/SystemUI/res/drawable-hdpi/btn_default_small_normal_disable_focused.9.png
Normal file → Executable file
|
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 1.7 KiB |
BIN
packages/SystemUI/res/drawable-hdpi/btn_default_small_pressed.9.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
packages/SystemUI/res/drawable-hdpi/btn_default_small_selected.9.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 180 B |
@@ -21,7 +21,7 @@
|
||||
<!-- android:background="@drawable/status_bar_closed_default_background" -->
|
||||
<com.android.systemui.statusbar.StatusBarView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@drawable/status_bar_background"
|
||||
android:background="@drawable/statusbar_background"
|
||||
android:orientation="vertical"
|
||||
android:focusable="true"
|
||||
android:descendantFocusability="afterDescendants"
|
||||
@@ -108,6 +108,6 @@
|
||||
android:gravity="center_vertical|left"
|
||||
android:paddingLeft="6px"
|
||||
android:paddingRight="6px"
|
||||
android:background="@drawable/status_bar_background"
|
||||
android:background="@drawable/statusbar_background"
|
||||
/>
|
||||
</com.android.systemui.statusbar.StatusBarView>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="3dp"
|
||||
android:background="@drawable/shade_header_background"
|
||||
android:background="@drawable/title_bar_portrait"
|
||||
>
|
||||
<com.android.systemui.statusbar.CarrierLabel
|
||||
android:layout_width="0dp"
|
||||
@@ -43,7 +43,7 @@
|
||||
android:paddingBottom="1dp"
|
||||
android:paddingLeft="4dp"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textColor="#ffdfdfdf"
|
||||
/>
|
||||
<TextView android:id="@+id/clear_all_button"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -82,7 +82,7 @@
|
||||
<TextView android:id="@+id/noNotificationsTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/title_bar_portrait"
|
||||
android:background="@drawable/shade_bgcolor"
|
||||
android:paddingLeft="5dp"
|
||||
android:textAppearance="@style/TextAppearance.StatusBar.Title"
|
||||
android:text="@string/status_bar_no_notifications_title"
|
||||
@@ -91,7 +91,7 @@
|
||||
<TextView android:id="@+id/ongoingTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/title_bar_portrait"
|
||||
android:background="@drawable/shade_bgcolor"
|
||||
android:paddingLeft="5dp"
|
||||
android:textAppearance="@style/TextAppearance.StatusBar.Title"
|
||||
android:text="@string/status_bar_ongoing_events_title"
|
||||
@@ -105,7 +105,7 @@
|
||||
<TextView android:id="@+id/latestTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/title_bar_portrait"
|
||||
android:background="@drawable/shade_bgcolor"
|
||||
android:paddingLeft="5dp"
|
||||
android:textAppearance="@style/TextAppearance.StatusBar.Title"
|
||||
android:text="@string/status_bar_latest_events_title"
|
||||
|
||||
@@ -26,11 +26,12 @@
|
||||
android:paddingRight="0px"
|
||||
>
|
||||
|
||||
<com.android.systemui.statusbar.TrackingPatternView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="#ff212121"
|
||||
/>
|
||||
|
||||
<com.android.systemui.statusbar.CloseDragHandle android:id="@+id/close"
|
||||
android:layout_width="match_parent"
|
||||
@@ -42,7 +43,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/shade_handlebar"
|
||||
android:src="@drawable/status_bar_close_on"
|
||||
/>
|
||||
|
||||
</com.android.systemui.statusbar.CloseDragHandle>
|
||||
|
||||
22
packages/SystemUI/res/values/colors.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright 2010, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<drawable name="shade_bgcolor">#ff282828</drawable>
|
||||
<drawable name="notification_header_text_color">#ff969696</drawable>
|
||||
</resources>
|
||||
@@ -19,7 +19,7 @@
|
||||
<style name="TextAppearance.StatusBar.Title" parent="@android:style/TextAppearance.StatusBar">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textColor">@drawable/notification_header_text_color</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.StatusBar.IntruderAlert"
|
||||
|
||||