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

This commit is contained in:
Arc Wang
2021-06-28 03:43:59 +00:00
committed by Android (Google) Code Review

View File

@@ -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>