From fdcbac0cf2e52033426156bc855593bd3676b697 Mon Sep 17 00:00:00 2001 From: AlinaStepanova Date: Mon, 24 Jun 2024 21:16:13 +0200 Subject: [PATCH] remove old xmls, upgrade dependencies --- app/build.gradle | 1 - .../res/layout-land-v21/activity_main.xml | 154 --------------- .../main/res/layout-land/activity_main.xml | 2 + app/src/main/res/layout-v21/activity_main.xml | 187 ------------------ app/src/main/res/layout/activity_main.xml | 5 +- gradle.properties | 1 - 6 files changed, 5 insertions(+), 345 deletions(-) delete mode 100644 app/src/main/res/layout-land-v21/activity_main.xml delete mode 100644 app/src/main/res/layout-v21/activity_main.xml diff --git a/app/build.gradle b/app/build.gradle index a1c73a3..b8f732d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,6 @@ keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { compileSdk 34 - buildToolsVersion = '30.0.3' defaultConfig { applicationId "com.avs.sea.battle" minSdkVersion 21 diff --git a/app/src/main/res/layout-land-v21/activity_main.xml b/app/src/main/res/layout-land-v21/activity_main.xml deleted file mode 100644 index 51d1344..0000000 --- a/app/src/main/res/layout-land-v21/activity_main.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout-land/activity_main.xml b/app/src/main/res/layout-land/activity_main.xml index 56e9be4..51d1344 100644 --- a/app/src/main/res/layout-land/activity_main.xml +++ b/app/src/main/res/layout-land/activity_main.xml @@ -141,6 +141,8 @@ style="?android:attr/progressBarStyleSmall" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:indeterminateTint="?attr/colorAccent" + android:indeterminateTintMode="src_in" android:visibility="invisible" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="@+id/viewPerson" diff --git a/app/src/main/res/layout-v21/activity_main.xml b/app/src/main/res/layout-v21/activity_main.xml deleted file mode 100644 index 79876e1..0000000 --- a/app/src/main/res/layout-v21/activity_main.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 4db1cf6..79876e1 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -41,10 +41,9 @@ android:paddingEnd="@dimen/dimen_10dp" android:singleLine="false" android:text="@string/status_welcome_text" - android:maxLines="2" + android:textSize="@dimen/text_size_16sp" android:layout_marginStart="@dimen/dimen_4dp" android:layout_marginEnd="@dimen/dimen_4dp" - android:textSize="@dimen/text_size_16sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -147,6 +146,8 @@ style="?android:attr/progressBarStyleSmall" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:indeterminateTint="?attr/colorAccent" + android:indeterminateTintMode="src_in" android:visibility="invisible" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/gradle.properties b/gradle.properties index 95b9377..0d290c2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,6 +19,5 @@ android.useAndroidX=true android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official -android.defaults.buildfeatures.buildconfig=true android.nonTransitiveRClass=true android.nonFinalResIds=false