Skip to content

Commit 9805063

Browse files
Increment version code and update card styles
This commit updates the `versionCode` to 50 in `app/build.gradle`. It also modifies the styles of several `MaterialCardView` elements: - In `ad_about.xml`: - The main ad card (`ad_card`) style is changed from `Elevated` to `Filled`. - The nested card for the app icon (`@+id/app_icon_card`) style is changed to `Elevated`. - `cardPreventCornerOverlap` and `cardUseCompatPadding` attributes are removed from `ad_card`. - In `fragment_about.xml`, the `card_view_about` style is changed from `Elevated` to `Filled`. - In `ad_home_banner_large.xml`, the `MaterialCardView` style is changed from `Filled` to `Elevated`.
1 parent 70bd3f8 commit 9805063

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android {
1313
applicationId 'com.d4rk.androidtutorials.java'
1414
minSdk 23
1515
targetSdk 36
16-
versionCode 49
16+
versionCode 50
1717
versionName '5.0.2'
1818
vectorDrawables.useSupportLibrary = true
1919
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66

77
<com.google.android.material.card.MaterialCardView
88
android:id="@+id/ad_card"
9-
style="@style/Widget.Material3.CardView.Elevated"
9+
style="@style/Widget.Material3.CardView.Filled"
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
12-
app:cardPreventCornerOverlap="true"
13-
app:cardUseCompatPadding="false"
1412
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.CardViewBottomRounded">
1513

1614
<androidx.appcompat.widget.LinearLayoutCompat
@@ -32,8 +30,7 @@
3230
android:layout_width="96dp"
3331
android:layout_height="96dp"
3432
app:cardCornerRadius="16dp"
35-
app:cardPreventCornerOverlap="true"
36-
app:cardUseCompatPadding="false"
33+
style="@style/Widget.Material3.CardView.Elevated"
3734
app:layout_constraintStart_toStartOf="parent"
3835
app:layout_constraintTop_toTopOf="parent">
3936

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<include layout="@layout/ad_attribution" />
2121

2222
<com.google.android.material.card.MaterialCardView
23-
style="@style/Widget.Material3.CardView.Filled"
23+
style="@style/Widget.Material3.CardView.Elevated"
2424
android:layout_width="match_parent"
2525
android:layout_height="180dp"
2626
android:layout_marginVertical="8dp"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<com.google.android.material.card.MaterialCardView
1616
android:id="@+id/card_view_about"
17-
style="@style/Widget.Material3.CardView.Elevated"
17+
style="@style/Widget.Material3.CardView.Filled"
1818
android:layout_width="match_parent"
1919
android:layout_height="wrap_content"
2020
app:contentPadding="16dp"

0 commit comments

Comments
 (0)