diff options
| author | 2011-10-27 19:17:19 -0700 | |
|---|---|---|
| committer | 2011-10-27 19:17:19 -0700 | |
| commit | 81bd76e4b33ea00d30bb2b2193ca5bd0cf445546 (patch) | |
| tree | 7bd9f481e0132ec1756553f2e70288440def8d72 | |
| parent | e3a31d0340802352d568c8c35ff1fa1047018a42 (diff) | |
| parent | ccff48b7cb4a1dd81ee90fb31d4dedf5dc71b8d0 (diff) | |
Merge "Removing 2nd background clock font display from statusbar and lock screen" into ics-mr1
4 files changed, 12 insertions, 8 deletions
diff --git a/core/java/com/android/internal/widget/DigitalClock.java b/core/java/com/android/internal/widget/DigitalClock.java index 18a4794dbf16..6f24ebaea2ba 100644 --- a/core/java/com/android/internal/widget/DigitalClock.java +++ b/core/java/com/android/internal/widget/DigitalClock.java @@ -168,6 +168,8 @@ public class DigitalClock extends RelativeLayout { /* The time display consists of two tones. That's why we have two overlapping text views. */ mTimeDisplayBackground = (TextView) findViewById(R.id.timeDisplayBackground); mTimeDisplayBackground.setTypeface(sBackgroundFont); + mTimeDisplayBackground.setVisibility(View.INVISIBLE); + mTimeDisplayForeground = (TextView) findViewById(R.id.timeDisplayForeground); mTimeDisplayForeground.setTypeface(sForegroundFont); mAmPm = new AmPm(this, null); diff --git a/core/res/res/values-sw600dp/colors.xml b/core/res/res/values-sw600dp/colors.xml index edd2712ecfb0..f59b1f258550 100644 --- a/core/res/res/values-sw600dp/colors.xml +++ b/core/res/res/values-sw600dp/colors.xml @@ -19,8 +19,8 @@ --> <resources> <!-- keyguard clock --> - <color name="lockscreen_clock_background">#b3ffffff</color> - <color name="lockscreen_clock_foreground">#7affffff</color> + <color name="lockscreen_clock_background">#ffffffff</color> + <color name="lockscreen_clock_foreground">#ffffffff</color> <color name="lockscreen_clock_am_pm">#ffffffff</color> <color name="lockscreen_owner_info">#ff9a9a9a</color> diff --git a/core/res/res/values/colors.xml b/core/res/res/values/colors.xml index c37871bfca78..b1a4b42498c7 100644 --- a/core/res/res/values/colors.xml +++ b/core/res/res/values/colors.xml @@ -107,9 +107,9 @@ <color name="keyguard_text_color_decline">#fe0a5a</color> <!-- keyguard clock --> - <color name="lockscreen_clock_background">#e5ffffff</color> - <color name="lockscreen_clock_foreground">#e5ffffff</color> - <color name="lockscreen_clock_am_pm">#ff9a9a9a</color> + <color name="lockscreen_clock_background">#ffffffff</color> + <color name="lockscreen_clock_foreground">#ffffffff</color> + <color name="lockscreen_clock_am_pm">#ffffffff</color> <color name="lockscreen_owner_info">#ff9a9a9a</color> <!-- FaceLock --> diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HoloClock.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HoloClock.java index 0121211af583..f98caa2abe78 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HoloClock.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/HoloClock.java @@ -53,9 +53,9 @@ public class HoloClock extends FrameLayout { private SimpleDateFormat mClockFormat; private static final String FONT_DIR = "/system/fonts/"; - private static final String CLOCK_FONT = FONT_DIR + "AndroidClock_Solid.ttf"; - private static final String CLOCK_FG_FONT = FONT_DIR + "AndroidClock.ttf"; - private static final String CLOCK_BG_FONT = FONT_DIR + "AndroidClock_Highlight.ttf"; + private static final String CLOCK_FONT = FONT_DIR + "AndroidClock_Solid.ttf"; + private static final String CLOCK_FG_FONT = FONT_DIR + "AndroidClock.ttf"; + private static final String CLOCK_BG_FONT = FONT_DIR + "AndroidClock_Highlight.ttf"; private static Typeface sBackgroundType, sForegroundType, sSolidType; private TextView mSolidText, mBgText, mFgText; @@ -84,7 +84,9 @@ public class HoloClock extends FrameLayout { mBgText = (TextView) findViewById(R.id.time_bg); if (mBgText != null) { mBgText.setTypeface(sBackgroundType); + mBgText.setVisibility(View.INVISIBLE); } + mFgText = (TextView) findViewById(R.id.time_fg); if (mFgText != null) { mFgText.setTypeface(sForegroundType); |