Adjust lockscreen style to spec
Bug: 21111048 Change-Id: Ibdecaf01224ef45a53b4981d8b79d27034a3df45
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/clock_white"
|
||||
style="@style/widget_label"
|
||||
android:textAllCaps="true"
|
||||
android:letterSpacing="0.15"
|
||||
android:gravity="center"
|
||||
/>
|
||||
<TextView android:id="@+id/alarm_status"
|
||||
@@ -38,6 +40,8 @@
|
||||
android:drawablePadding="6dp"
|
||||
android:drawableStart="@drawable/ic_access_alarms_big"
|
||||
android:textColor="@color/clock_gray"
|
||||
android:letterSpacing="0.15"
|
||||
android:textAllCaps="true"
|
||||
style="@style/widget_label"
|
||||
android:layout_marginStart="6dp"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textColor="@color/clock_gray"
|
||||
android:textSize="@dimen/widget_label_font_size"
|
||||
android:letterSpacing="0.05"
|
||||
android:ellipsize="marquee"
|
||||
android:singleLine="true" />
|
||||
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<dimen name="widget_big_font_size">112dp</dimen>
|
||||
<dimen name="widget_big_font_size">104dp</dimen>
|
||||
</resources>
|
||||
@@ -26,7 +26,7 @@
|
||||
<dimen name="keyguard_security_view_margin">12dp</dimen>
|
||||
|
||||
<!-- Overload default clock widget parameters -->
|
||||
<dimen name="widget_big_font_size">140dp</dimen>
|
||||
<dimen name="widget_big_font_size">125dp</dimen>
|
||||
<dimen name="widget_label_font_size">16sp</dimen>
|
||||
<dimen name="bottom_text_spacing_digital">-16dp</dimen>
|
||||
|
||||
|
||||
@@ -24,5 +24,5 @@
|
||||
<!-- Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
|
||||
<dimen name="keyguard_security_height">420dp</dimen>
|
||||
|
||||
<dimen name="widget_big_font_size">150dp</dimen>
|
||||
<dimen name="widget_big_font_size">138dp</dimen>
|
||||
</resources>
|
||||
|
||||
@@ -17,5 +17,5 @@
|
||||
|
||||
<!-- Clock -->
|
||||
<color name="clock_white">#ffffffff</color>
|
||||
<color name="clock_gray">#99ffffff</color>
|
||||
<color name="clock_gray">@*android:color/secondary_text_default_material_dark</color>
|
||||
</resources>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<!-- Default clock parameters -->
|
||||
<dimen name="bottom_text_spacing_digital">-10dp</dimen>
|
||||
<dimen name="widget_label_font_size">16sp</dimen>
|
||||
<dimen name="widget_label_font_size">14sp</dimen>
|
||||
<dimen name="widget_big_font_size">88dp</dimen>
|
||||
|
||||
<!-- The y translation to apply at the start in appear animations. -->
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
</style>
|
||||
<style name="widget_big_thin">
|
||||
<item name="android:textSize">@dimen/widget_big_font_size</item>
|
||||
<item name="android:fontFamily">sans-serif-thin</item>
|
||||
<item name="android:fontFamily">sans-serif-light</item>
|
||||
</style>
|
||||
|
||||
<style name="BouncerSecurityContainer">
|
||||
|
||||
@@ -45,7 +45,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
|
||||
public static final long ANIMATION_DURATION = 220;
|
||||
|
||||
private static final float SCRIM_BEHIND_ALPHA = 0.62f;
|
||||
private static final float SCRIM_BEHIND_ALPHA_KEYGUARD = 0.55f;
|
||||
private static final float SCRIM_BEHIND_ALPHA_KEYGUARD = 0.45f;
|
||||
private static final float SCRIM_BEHIND_ALPHA_UNLOCKING = 0.2f;
|
||||
private static final float SCRIM_IN_FRONT_ALPHA = 0.75f;
|
||||
private static final int TAG_KEY_ANIM = R.id.scrim;
|
||||
|
||||
Reference in New Issue
Block a user