Skip to content

Commit 204343d

Browse files
Style app promo cards
1 parent 9239a5d commit 204343d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/src/main/res/layout/fragment_home.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
android:id="@+id/other_apps_title"
148148
android:layout_width="match_parent"
149149
android:layout_height="wrap_content"
150+
android:layout_marginBottom="8dp"
150151
android:text="@string/other_apps_title"
151152
android:textAppearance="@style/TextAppearance.Material3.TitleMedium" />
152153

app/src/main/res/layout/promoted_app_item.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
4-
style="@style/Widget.Material3.CardView.Elevated"
4+
style="@style/Widget.Material3.CardView.Filled"
55
android:layout_width="160dp"
66
android:layout_height="180dp"
7-
android:layout_marginEnd="8dp">
7+
android:layout_marginEnd="8dp"
8+
app:cardCornerRadius="24dp">
89

910
<androidx.constraintlayout.widget.ConstraintLayout
1011
android:layout_width="match_parent"

0 commit comments

Comments
 (0)