Skip to content

Commit cbdc9d2

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Use holo_blue_light for statusbar clocks."
2 parents 4880a73 + 1a21f0a commit cbdc9d2

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@
8989
<TextView android:id="@+id/time_solid"
9090
android:layout_width="wrap_content"
9191
android:layout_height="wrap_content"
92+
android:textAppearance="@style/TextAppearance.StatusBar.Clock"
9293
android:singleLine="true"
9394
android:textSize="40sp"
94-
android:textColor="#ff525e79" />
95+
/>
9596
</com.android.systemui.statusbar.tablet.HoloClock>
9697

9798
<TextView

packages/SystemUI/res/layout/status_bar.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,12 @@
7272

7373
<com.android.systemui.statusbar.policy.Clock
7474
android:id="@+id/clock"
75-
android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon"
75+
android:textAppearance="@style/TextAppearance.StatusBar.Clock"
7676
android:layout_width="wrap_content"
7777
android:layout_height="match_parent"
7878
android:singleLine="true"
7979
android:paddingRight="6dip"
8080
android:textSize="16sp"
81-
android:textStyle="bold"
8281
android:gravity="center_vertical|left"
8382
/>
8483
</LinearLayout>

packages/SystemUI/res/layout/status_bar_expanded.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
android:paddingRight="3dp"
3535
>
3636
<com.android.systemui.statusbar.policy.DateView android:id="@+id/date"
37-
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
38-
android:textColor="@android:color/holo_blue_light"
39-
android:textStyle="normal"
37+
android:textAppearance="@style/TextAppearance.StatusBar.Clock"
4038
android:layout_width="wrap_content"
4139
android:layout_height="match_parent"
4240
android:layout_alignParentLeft="true"

packages/SystemUI/res/values/styles.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
<item name="android:textColor">#FFFFFFFF</item>
4141
</style>
4242

43+
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
44+
<item name="android:textSize">16sp</item>
45+
<item name="android:textStyle">normal</item>
46+
<item name="android:textColor">@android:color/holo_blue_light</item>
47+
</style>
48+
4349
<style name="Animation" />
4450

4551
<style name="Animation.ShirtPocketPanel">

0 commit comments

Comments
 (0)