Skip to content

Commit db5c87f

Browse files
Upgrade gradle wrapper and apply fitsSystemWindows theme to OSS licenses activities
The gradle wrapper was upgraded from 9.0.0 to 9.1.0. A new theme, `FitSystemWindowsTheme`, was created and applied to `OssLicensesMenuActivity` and `OssLicensesActivity` to ensure content is displayed correctly within system windows.
1 parent 5acf94a commit db5c87f

File tree

10 files changed

+9
-11
lines changed

10 files changed

+9
-11
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 47
16+
versionCode 48
1717
versionName '5.0.2'
1818
vectorDrawables.useSupportLibrary = true
1919
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
<activity
6666
android:name="com.google.android.gms.oss.licenses.OssLicensesMenuActivity"
6767
android:exported="false"
68-
android:theme="@style/AppTheme" />
68+
android:theme="@style/FitSystemWindowsTheme" />
6969

7070
<activity
7171
android:name="com.google.android.gms.oss.licenses.OssLicensesActivity"
7272
android:exported="false"
73-
android:theme="@style/AppTheme" />
73+
android:theme="@style/FitSystemWindowsTheme" />
7474

7575
<activity
7676
android:name=".ui.screens.android.CodeActivity"

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
1212
android:layout_marginHorizontal="24dp"
13-
android:animateLayoutChanges="true"
1413
app:cardPreventCornerOverlap="true"
1514
app:cardUseCompatPadding="false"
1615
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.CardViewBottomRounded">

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
1212
android:layout_marginHorizontal="16dp"
13-
android:animateLayoutChanges="true"
1413
app:cardCornerRadius="4dp">
1514

1615
<androidx.appcompat.widget.LinearLayoutCompat

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
style="@style/Widget.Material3.CardView.Outlined"
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
12-
android:animateLayoutChanges="true"
1312
app:cardCornerRadius="24dp">
1413

1514
<androidx.appcompat.widget.LinearLayoutCompat

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
android:layout_marginHorizontal="16dp"
1313
android:layout_marginTop="2dp"
1414
android:layout_marginBottom="16dp"
15-
android:animateLayoutChanges="true"
1615
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.CardViewBottomRounded">
1716

1817
<androidx.appcompat.widget.LinearLayoutCompat

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
style="@style/Widget.Material3.CardView.Outlined"
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
12-
android:animateLayoutChanges="true"
1312
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.CardViewBottomRounded">
1413

1514
<androidx.appcompat.widget.LinearLayoutCompat

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
style="@style/Widget.Material3.CardView.Outlined"
1010
android:layout_width="match_parent"
1111
android:layout_height="wrap_content"
12-
android:animateLayoutChanges="true"
1312
app:cardCornerRadius="24dp">
1413

1514
<androidx.appcompat.widget.LinearLayoutCompat

app/src/main/res/values/themes.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
<item name="materialButtonStyle">@style/Widget.App.Button.Clover</item>
3838
</style>
3939

40+
<style name="FitSystemWindowsTheme" parent="AppThemeActionBar">
41+
<item name="android:fitsSystemWindows">true</item>
42+
</style>
43+
4044
<!-- Emphasized text appearances -->
4145
<style name="TextAppearance.TitleLargeEmphasized" parent="TextAppearance.Material3.TitleLarge">
4246
<item name="android:textStyle">bold</item>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Aug 31 00:25:08 EEST 2025
1+
#Thu Sep 18 19:55:21 EEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)