From 344d2915047f4d89817309195dc72e21d6085592 Mon Sep 17 00:00:00 2001 From: nisaefendioglu Date: Wed, 10 Jul 2024 14:19:38 +0300 Subject: [PATCH] Code edits and upgrade API level --- .idea/deploymentTargetSelector.xml | 10 +++++++++ .idea/gradle.xml | 5 ++--- .idea/migrations.xml | 10 +++++++++ app/build.gradle | 26 +++++++++++------------ app/src/main/res/layout/maps.xml | 2 +- app/src/main/res/layout/rec_item.xml | 10 ++++----- app/src/main/res/layout/splash_screen.xml | 2 +- 7 files changed, 42 insertions(+), 23 deletions(-) create mode 100644 .idea/deploymentTargetSelector.xml create mode 100644 .idea/migrations.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 0000000..b268ef3 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ae388c2..0897082 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,16 +4,15 @@ diff --git a/.idea/migrations.xml b/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index bf69d9d..ee37ab4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,9 +10,9 @@ android { defaultConfig { applicationId "com.nisaefendioglu.recentearthquakes" minSdk 21 - targetSdk 33 - versionCode 5 - versionName "1.4" + targetSdk 34 + versionCode 6 + versionName "1.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -39,16 +39,16 @@ android { } dependencies { - implementation 'androidx.core:core-ktx:1.10.1' - implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'com.google.android.material:material:1.9.0' + implementation 'androidx.core:core-ktx:1.13.1' + implementation 'androidx.appcompat:appcompat:1.7.0' + implementation 'com.google.android.material:material:1.12.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' - androidTestImplementation 'androidx.test.ext:junit:1.1.5' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' + androidTestImplementation 'androidx.test.ext:junit:1.2.1' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1' - implementation 'androidx.activity:activity-ktx:1.7.2' - implementation 'androidx.fragment:fragment-ktx:1.6.1' + implementation 'androidx.activity:activity-ktx:1.9.0' + implementation 'androidx.fragment:fragment-ktx:1.8.1' //retrofit2 implementation "com.squareup.retrofit2:retrofit:2.9.0" @@ -58,13 +58,13 @@ dependencies { //navigation - def nav_version = "2.7.0" + def nav_version = "2.7.7" implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" implementation "androidx.navigation:navigation-ui-ktx:$nav_version" - implementation 'com.google.android.gms:play-services-maps:18.1.0' - implementation 'com.google.android.gms:play-services-ads:22.2.0' + implementation 'com.google.android.gms:play-services-maps:19.0.0' + implementation 'com.google.android.gms:play-services-ads:23.2.0' } \ No newline at end of file diff --git a/app/src/main/res/layout/maps.xml b/app/src/main/res/layout/maps.xml index f33c330..33aa2c1 100644 --- a/app/src/main/res/layout/maps.xml +++ b/app/src/main/res/layout/maps.xml @@ -6,7 +6,7 @@ android:layout_height="match_parent"> \ No newline at end of file diff --git a/app/src/main/res/layout/splash_screen.xml b/app/src/main/res/layout/splash_screen.xml index 5051a10..78d9074 100644 --- a/app/src/main/res/layout/splash_screen.xml +++ b/app/src/main/res/layout/splash_screen.xml @@ -9,7 +9,7 @@ android:gravity="center">