From 33671e9c1e9ffa3776ed987bddeb70a04daa7cfe Mon Sep 17 00:00:00 2001 From: Steve Howard Date: Fri, 10 Sep 2010 17:49:08 -0700 Subject: Use new status bar text styles in download notification. This avoids the black text on black background problem with new themes. Change-Id: I3e05a2a4035dc5837dad67d889f92864c619c6b5 --- .../status_bar_ongoing_event_progress_bar.xml | 40 ++++++++++------------ 1 file 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" > - + - - @@ -74,17 +73,15 @@ @@ -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" /> - -