summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Howard <showard@google.com>2010-09-10 17:49:08 -0700
committerSteve Howard <showard@google.com>2010-09-12 19:14:57 -0700
commit33671e9c1e9ffa3776ed987bddeb70a04daa7cfe (patch)
tree5bb771a435ed999e64b7c3babb8a9b1306e9b718
parent13db200521cf8ead0d96173bccd7e141182eeccd (diff)
downloadandroid_packages_providers_DownloadProvider-33671e9c1e9ffa3776ed987bddeb70a04daa7cfe.tar.gz
android_packages_providers_DownloadProvider-33671e9c1e9ffa3776ed987bddeb70a04daa7cfe.tar.bz2
android_packages_providers_DownloadProvider-33671e9c1e9ffa3776ed987bddeb70a04daa7cfe.zip
Use new status bar text styles in download notification.
This avoids the black text on black background problem with new themes. Change-Id: I3e05a2a4035dc5837dad67d889f92864c619c6b5
-rw-r--r--res/layout/status_bar_ongoing_event_progress_bar.xml40
1 files changed, 18 insertions, 22 deletions
diff --git a/res/layout/status_bar_ongoing_event_progress_bar.xml b/res/layout/status_bar_ongoing_event_progress_bar.xml
index e3a60b2e..2a4d7e6c 100644
--- a/res/layout/status_bar_ongoing_event_progress_bar.xml
+++ b/res/layout/status_bar_ongoing_event_progress_bar.xml
@@ -3,16 +3,16 @@
/*
** Copyright 2008, 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
+** 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
+** 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
+** 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.
*/
-->
@@ -29,7 +29,7 @@
android:layout_height="match_parent"
android:orientation="horizontal"
>
-
+
<LinearLayout
android:layout_width="40dp"
android:layout_height="match_parent"
@@ -38,19 +38,18 @@
android:focusable="true"
android:clickable="true"
>
- <ImageView
+ <ImageView
android:id="@+id/appIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@android:drawable/sym_def_app_icon"
/>
- <TextView android:id="@+id/progress_text"
- android:layout_width="wrap_content"
+ <TextView android:id="@+id/progress_text"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="#ff000000"
+ style="@android:style/TextAppearance.StatusBar.EventContent"
android:singleLine="true"
- android:textSize="14sp"
android:layout_gravity="center_horizontal"
/>
</LinearLayout>
@@ -74,17 +73,15 @@
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ style="@android:style/TextAppearance.StatusBar.EventContent.Title"
android:singleLine="true"
- android:textSize="18sp"
- android:textColor="#ff000000"
android:paddingLeft="2dp"
/>
<TextView android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="#ff000000"
+ style="@android:style/TextAppearance.StatusBar.EventContent"
android:singleLine="true"
- android:textSize="14sp"
android:paddingLeft="5dp"
/>
</LinearLayout>
@@ -103,14 +100,13 @@
android:layout_alignParentBottom="true"
android:paddingBottom="8dp"
android:singleLine="true"
- android:textSize="14sp"
+ style="@android:style/TextAppearance.StatusBar.EventContent"
android:paddingLeft="5dp"
- android:textColor="#ff000000"
/>
</RelativeLayout>
</LinearLayout>
-
- <ImageView
+
+ <ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@android:drawable/divider_horizontal_bright"