CardView: Make all CardView styled correctly

This commit is contained in:
tarsin committed 2022-05-16 23:31:46 +08:00
1 parent 7088f39788
commit d132ff17cd
5 files changed
+7 -4

No files matched your search

+3 -4
View File
@@ -14,6 +14,7 @@
~ limitations under the License.
-->
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Widget.Material3.CardView.Filled"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
@@ -27,15 +28,13 @@
android:focusable="true"
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/toolbarColor"
android:elevation="4dp"
android:saveEnabled="false"
android:theme="@style/ThemeOverlay.MaterialComponents.Dark.ActionBar"
app:popupTheme="?attr/toolbarPopupTheme" />
android:saveEnabled="false" />
<FrameLayout
android:layout_width="match_parent"
@@ -124,6 +124,7 @@
</RelativeLayout>
<com.google.android.material.card.MaterialCardView
style="@style/Widget.Material3.CardView.Elevated"
android:id="@+id/action_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -16,6 +16,7 @@
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/Widget.Material3.CardView.Elevated"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="2dp"
@@ -15,6 +15,7 @@
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/Widget.Material3.CardView.Elevated"
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -14,6 +14,7 @@
-->
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Widget.Material3.CardView.Elevated"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="2dp">