SDL: fixed dark text on dark background in notification, updated Gradle files

This commit is contained in:
pelya
2020-07-07 22:29:20 +03:00
parent e02d772173
commit 07952badae
7 changed files with 18 additions and 12 deletions

View File

@@ -11,6 +11,8 @@
android:banner="@drawable/banner"
android:isGame="true"
android:extractNativeLibs="true"
android:supportsRtl="true"
android:theme="@style/AppTheme"
>
<activity android:name=".MainActivity"
android:label="@string/app_name"

View File

@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
buildToolsVersion "30.0.0"
defaultConfig {
applicationId "net.olofson.ballfield"
@@ -21,3 +21,6 @@ android {
dependencies { compile 'com.google.android.gms:play-services-drive:17.0.0' } // ==GOOGLEPLAYGAMESERVICES==
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.1.0'
}

View File

@@ -1,15 +1,12 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'
classpath "com.android.tools.build:gradle:4.0.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -20,7 +17,6 @@ allprojects {
repositories {
google()
jcenter()
}
}

View File

@@ -6,15 +6,14 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
org.gradle.jvmargs=-Xmx2048m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
android.enableJetifier=true

View File

@@ -1,6 +1,6 @@
#Thu Apr 16 21:28:37 EEST 2020
#Tue Jul 07 20:59:38 EEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip

View File

@@ -29,6 +29,7 @@
android:layout_toRightOf="@id/notificationIcon"
android:id="@+id/notificationText"
android:text="App is running"
style="@style/TextAppearance.Compat.Notification.Title"
android:gravity="center_vertical"
android:clickable="true"
android:paddingLeft="10dp"
@@ -39,6 +40,7 @@
android:layout_height="fill_parent"
android:id="@+id/notificationStop"
android:text="@string/notification_stop"
style="@style/TextAppearance.Compat.Notification.Title"
android:gravity="center_vertical"
android:singleLine="true"
android:layout_alignParentRight="true"

View File

@@ -0,0 +1,4 @@
<resources>
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
</style>
</resources>