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

Commit aa8b84ac authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Migrate shared dimens to customization resources

This also fixes an issue where certain dimensions weren't properly
overlaid in the wpp on certain devices. This caused a layout issue
in certain previews.

Bug: 282758655
Test: Manually checked layout on many devices
Change-Id: I13eadf62d4c4303f7e973b6beaaae0f720e23ba9
parent 8a4348ee
Loading
Loading
Loading
Loading

res/values-h800dp/dimens.xml

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<resources>
    <!--
    Dimension for clock translationY when swiping clock carousel in picker,
    copied from sysui resources
    -->
    <dimen name="keyguard_large_clock_top_margin">-112dp</dimen>
</resources>
 No newline at end of file
+0 −10
Original line number Diff line number Diff line
@@ -170,14 +170,4 @@
    <dimen name="clock_color_size_button_corner_radius">16dp</dimen>
    <dimen name="clock_color_size_button_icon_size">20dp</dimen>
    <dimen name="clock_color_size_button_icon_margin_end">12dp</dimen>

    <!--
    Dimension for clock translationY when swiping clock carousel in picker,
    copied from sysui resources
    -->
    <dimen name="keyguard_large_clock_top_margin">-60dp</dimen>
    <!-- Dimension for the clock view, copied from sysui resources. -->
    <dimen name="small_clock_height">114dp</dimen>
    <dimen name="small_clock_padding_top">28dp</dimen>
    <dimen name="clock_padding_start">28dp</dimen>
</resources>