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

Commit 3625cf50 authored by Arc Wang's avatar Arc Wang Committed by Android (Google) Code Review
Browse files

Merge "Shows ripple effect inside CardPreference's rounded rectangle" into sc-dev

parents 0bea498a 465560d3
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -15,20 +15,19 @@
  limitations under the License.
  -->

<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
<com.google.android.material.card.MaterialCardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="8dp"
    android:foreground="@drawable/contextual_card_background"
    android:clickable="true"
    style="@style/ContextualCardStyle">

    <include
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="-8dp"
        layout="@layout/settingslib_preference"/>
</com.google.android.material.card.MaterialCardView>
</FrameLayout>