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

Commit 2bb9cac5 authored by Peter_Liang's avatar Peter_Liang
Browse files

Fix that ripple effect of level buttons for adjusting font/display size doesn't fit the shape.

Root cause: Ripple effect of lower view was clipped by the upper layout.

Solution: Add the android:clipChildren="false" into the upper layout.

Bug: 230564860
Test: manual test
Change-Id: Iaa764ced9e33a7a2acd5cc0401e5014184c49cdb
parent fd7153ed
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -20,14 +20,13 @@
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:clipChildren="false"
    android:background="?android:colorBackground"
    android:gravity="center_vertical">

    <FrameLayout
        android:id="@+id/icon_start_frame"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:background="?android:attr/selectableItemBackgroundBorderless"
        android:clipChildren="false"
        android:focusable="true"
        android:visibility="gone">

@@ -36,6 +35,7 @@
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="start|center_vertical"
            android:background="?android:attr/selectableItemBackgroundBorderless"
            android:adjustViewBounds="true"
            android:focusable="false"
            android:tint="?android:attr/textColorPrimary"
@@ -56,7 +56,7 @@
        android:id="@+id/icon_end_frame"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:background="?android:attr/selectableItemBackgroundBorderless"
        android:clipChildren="false"
        android:focusable="true"
        android:visibility="gone">

@@ -65,6 +65,7 @@
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end|center_vertical"
            android:background="?android:attr/selectableItemBackgroundBorderless"
            android:adjustViewBounds="true"
            android:focusable="false"
            android:tint="?android:attr/textColorPrimary"