Follow analyzer suggestions, remove deprecations

This commit is contained in:
Julian Mutter 2024-03-01 16:28:03 +01:00
parent f122ec37d7
commit 39ce99fa05
8 changed files with 18 additions and 13 deletions

View File

@ -24,7 +24,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
flavorDimensions 'releaseTargetGroup'
flavorDimensions = ['releaseTargetGroup']
productFlavors {
flavorStoreRelease {
dimension 'releaseTargetGroup'

View File

@ -35,7 +35,8 @@
android:layout_marginRight="1dp"
android:layout_marginEnd="1dp"
style="@style/DialogButton"
android:text="@string/confirm_dialog_button_yes"/>
android:text="@string/confirm_dialog_button_yes"
android:gravity="center_horizontal" />
<Button
android:id="@+id/confirm_dialog_no_button"
android:layout_width="wrap_content"
@ -43,7 +44,8 @@
android:textAlignment="center"
style="@style/DialogButton"
android:layout_height="wrap_content"
android:text="@string/confirm_dialog_button_no"/>
android:text="@string/confirm_dialog_button_no"
android:gravity="center_horizontal" />
</LinearLayout>
</LinearLayout>

View File

@ -53,7 +53,8 @@
android:layout_centerInParent="true"
android:text="@string/placeholder_textview"
android:textAlignment="center"
android:textSize="20sp"/>
android:textSize="20sp"
android:gravity="center_horizontal" />
</RelativeLayout>
</LinearLayout>

View File

@ -66,7 +66,8 @@
android:layout_centerInParent="true"
android:text="@string/placeholder_textview"
android:textAlignment="center"
android:textSize="20sp"/>
android:textSize="20sp"
android:gravity="center_horizontal" />
</RelativeLayout>
</LinearLayout>

View File

@ -24,7 +24,8 @@
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:text="@string/tutorial_placeholder"
android:textAlignment="center"/>
android:textAlignment="center"
android:gravity="center_horizontal" />
<ImageView
android:id="@+id/tutorial_image_view"

View File

@ -17,7 +17,7 @@
<string name="goal_message_restart_format_d">Neustart: Level %d</string>
<string name="goal_message_next_level_format_d">Nächstes Level: %d</string>
<string name="goal_message_next_world_format_s">Nächste Welt:\n%s</string>
<string name="pre_start_screen_loading">LÄDT...</string>
<string name="pre_start_screen_loading">LÄDT</string>
<string name="short_menu_continue">Weiter</string>
<string name="short_menu_exit">Beenden</string>
<string name="start_screen_play">Spielen</string>
@ -39,7 +39,7 @@
<string name="playershape_name_sun">Sonne</string>
<string name="level_button_format_d">Level: %d</string>
<string name="playershape_description_hypno_spiral">Lass dich hypnotisieren!</string>
<string name="playershape_description_wheel">Ein krasses Auto ohne ... Auto</string>
<string name="playershape_description_wheel">Ein krasses Auto ohne Auto</string>
<string name="playershape_description_sun">Lass dir die Sonne ins Gesicht scheinen</string>
<string name="task_collect_stars_progress_format_ddd">Sammle %d Sterne (%d/%d)</string>
<string name="task_collect_energy_progress_format_ddd">Sammle %d Energie (%d/%d)</string>

View File

@ -26,7 +26,7 @@
<string name="goal_message_restart_format_d">Restart level %d</string>
<string name="goal_message_next_level_format_d">Next level: %d</string>
<string name="goal_message_next_world_format_s">Next world:\n%s</string>
<string name="pre_start_screen_loading">LOADING...</string>
<string name="pre_start_screen_loading">LOADING</string>
<string name="short_menu_continue">Continue</string>
<string name="short_menu_exit">Exit</string>
<string name="start_screen_play">Play</string>
@ -64,7 +64,7 @@
<string name="playershape_description_soccer">Let\'s roll to the goal!</string>
<string name="playershape_description_pacman" translatable="false">PACMAN!</string>
<string name="playershape_description_smiley" translatable="false">Don\'t worry, roll happy!</string>
<string name="playershape_description_wheel">A nice car without the... car</string>
<string name="playershape_description_wheel">A nice car without the car</string>
<string name="playershape_description_sun">Shine bright like the sun</string>
<string name="playershape_description_blue">Why am I blue?</string>
<string name="playershape_description_rainbow">So colorful!!!</string>

View File

@ -9,7 +9,7 @@
buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
@ -22,11 +22,11 @@ buildscript {
allprojects {
repositories {
jcenter()
mavenCentral()
google()
}
}
task clean(type: Delete) {
tasks.register('clean', Delete) {
delete rootProject.buildDir
}