]> git.ktnx.net Git - mobile-ledger.git/commitdiff
bump support to API ver 28
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 30 Nov 2018 17:44:28 +0000 (17:44 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 30 Nov 2018 17:44:28 +0000 (17:44 +0000)
as a failed attempt to make DateFormatter classes to work (get linked/included/whatever)

app/build.gradle
app/src/main/AndroidManifest.xml
app/src/main/res/layout-v26/content_new_transaction.xml
app/src/main/res/xml/backup_descriptor.xml

index 3397bcd561f4e6a32a098748d5e9696103905ded..7376229a0b5ebdc3d3829c29f71215cdffec8cdf 100644 (file)
@@ -1,11 +1,11 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 27
+    compileSdkVersion 28
     defaultConfig {
         applicationId "net.ktnx.mobileledger"
         minSdkVersion 23
-        targetSdkVersion 27
+        targetSdkVersion 28
         versionCode 1
         versionName "1.0"
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -21,9 +21,9 @@ android {
 
 dependencies {
     implementation fileTree(dir: 'libs', include: ['*.jar'])
-    implementation 'com.android.support:appcompat-v7:27.1.1'
-    implementation 'com.android.support:support-v4:27.1.1'
-    implementation 'com.android.support:design:27.1.1'
+    implementation 'com.android.support:appcompat-v7:28.0.0'
+    implementation 'com.android.support:support-v4:28.0.0'
+    implementation 'com.android.support:design:28.0.0'
     implementation 'com.android.support.constraint:constraint-layout:1.1.3'
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'com.android.support.test:runner:1.0.2'
index 2ab3ca042067a0f9e0df740e95d7780813c7de60..ee612ac456b7c1f7afe56bd123c6c2516abbb1f8 100644 (file)
@@ -8,7 +8,8 @@
         android:label="@string/app_name"
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
-        android:theme="@style/AppTheme">
+        android:theme="@style/AppTheme"
+        android:fullBackupContent="@xml/backup_descriptor">
         <activity
             android:name=".LatestTransactions"
             android:label="@string/app_name"
index e6aff4865e8f44e00026d63be28e105a319c4e40..8e71c3415ac102050c8d643acb06ace1f51addfc 100644 (file)
                 android:importantForAutofill="no"
                 android:inputType="date"
                 android:onClick="pickTransactionDate"
-                android:textAlignment="center" />
+                android:selectAllOnFocus="true"
+                android:singleLine="true"
+                android:textAlignment="center"
+                android:textStyle="bold" />
 
             <LinearLayout
                 android:importantForAutofill="noExcludeDescendants"
index cfcd5630b40934c3760890a7144b919b1fc0d972..6fd6103a4d93e4ef450dabdafd296f1cab15dac7 100644 (file)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
 <full-backup-content>
-<!-- Exclude specific shared preferences that contain GCM registration Id -->
+    <!-- Exclude specific shared preferences that contain GCM registration Id -->
 </full-backup-content>