Merge "Update clock to 2x2" into sc-dev am: 5fb31dd756
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13439807 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ieecc7e7f1142b8cc78de8c594f7a2769b68220f6
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
android:textSize="100dp"
|
||||
android:includeFontPadding="false"
|
||||
android:fontFamily="@font/clock"
|
||||
android:lineSpacingMultiplier=".65"
|
||||
android:lineSpacingMultiplier=".7"
|
||||
android:typeface="monospace"
|
||||
android:elegantTextHeight="false"
|
||||
dozeWeight="200"
|
||||
@@ -97,7 +97,7 @@
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/large_clock_text_size"
|
||||
android:includeFontPadding="false"
|
||||
android:lineSpacingMultiplier=".65"
|
||||
android:lineSpacingMultiplier=".7"
|
||||
android:fontFamily="@font/clock"
|
||||
android:typeface="monospace"
|
||||
android:elegantTextHeight="false"
|
||||
|
||||
@@ -38,7 +38,7 @@ import kotlin.Unit;
|
||||
* The time's text color is a gradient that changes its colors based on its controller.
|
||||
*/
|
||||
public class AnimatableClockView extends TextView {
|
||||
private static final CharSequence FORMAT_12_HOUR = "h\nmm";
|
||||
private static final CharSequence FORMAT_12_HOUR = "hh\nmm";
|
||||
private static final CharSequence FORMAT_24_HOUR = "HH\nmm";
|
||||
private static final long ANIM_DURATION = 300;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user