Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a504d9c1 authored by Beverly's avatar Beverly
Browse files

Update clock to 2x2

Instead of pyramid single digit hour of minutes.

Also, adjust vertical spacing to between minutes and hours to be
further.

Test: manual
Bug: 170228350
Change-Id: Ic91b7e973fbe0b28d1520e0febcf9835a095e162
parent 7ee87037
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"
+1 −1
Original line number Diff line number Diff line
@@ -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;