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

Commit 6fed099e authored by William Xiao's avatar William Xiao
Browse files

Increase enforced widget corner radius on hub to 28dp

Most first party widgets use a 28dp radius, meaning the previous radius
of 16dp lead to an inconsistent look on the hub.

Bug: 329515555
Fixed: 329515555
Test: verified appearance on device
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: Ica91745e4dc652ab10c72e852b3745e5e014a871
parent 253a041a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -898,8 +898,9 @@
    <dimen name="communal_tutorial_indicator_horizontal_offset">32dp</dimen>

    <!-- Size of the maximum radius for the enforced rounded rectangles on communal hub.
        Keep it the same as in Launcher-->
    <dimen name="communal_enforced_rounded_corner_max_radius">16dp</dimen>
        Larger than the 16dp Launcher uses, to ensure consistency on the hub, where it's much more
        obvious when corner radii differ.-->
    <dimen name="communal_enforced_rounded_corner_max_radius">28dp</dimen>

    <!-- Width and height used to filter widgets displayed in the communal widget picker -->
    <dimen name="communal_widget_picker_desired_width">424dp</dimen>