diff --git a/app/build.gradle b/app/build.gradle
index 44aab6c28..410211553 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,7 +5,7 @@ android {
buildToolsVersion = "26.0.2"
defaultConfig {
applicationId = "com.android.keepass"
- minSdkVersion 11
+ minSdkVersion 14
targetSdkVersion 25
versionCode = 1
versionName = "2.5.0.0"
@@ -41,5 +41,5 @@ dependencies {
compile "com.android.support:preference-v7:$supportVersion"
compile "com.madgag.spongycastle:core:$spongycastleVersion"
compile "com.madgag.spongycastle:prov:$spongycastleVersion"
- compile 'joda-time:joda-time:2.9.9'
+ compile "joda-time:joda-time:2.9.9"
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 1b4f3da0d..161891c9a 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -20,7 +20,7 @@
android:allowBackup="true"
android:fullBackupContent="@xml/backup"
android:backupAgent="com.keepassdroid.backup.SettingsBackupAgent"
- android:theme="@style/KeepassDXStyle.Night">
+ android:theme="@style/KeepassDXStyle.Light">
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/color/text_color_night.xml b/app/src/main/res/color/text_color_night.xml
new file mode 100644
index 000000000..b979251e1
--- /dev/null
+++ b/app/src/main/res/color/text_color_night.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/color/text_color_secondary_light.xml b/app/src/main/res/color/text_color_secondary_light.xml
new file mode 100644
index 000000000..3b0f35df9
--- /dev/null
+++ b/app/src/main/res/color/text_color_secondary_light.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/color/text_color_secondary_night.xml b/app/src/main/res/color/text_color_secondary_night.xml
new file mode 100644
index 000000000..2815ece81
--- /dev/null
+++ b/app/src/main/res/color/text_color_secondary_night.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 2d0c07cde..066a05bcf 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -204,4 +204,11 @@
- Moyen
- Grand
+
+ Choisir un thème
+ Change le thème de l\'application en modifiant les couleurs
+
+ - Light Theme
+ - Night Theme
+
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 80f05abd7..4129519fe 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -33,9 +33,13 @@
#388e3c
#cccccc
#616161
+ #c7c7c7
#eeeeee
- #8f8f8f
- #616161
+ #565656
+ #7c7c7c
+ #c7c7c7
+ #999999
+ #565656
#43a047
#bdbdbd
diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml
index e135bdeec..eb8a1169e 100644
--- a/app/src/main/res/values/donottranslate.xml
+++ b/app/src/main/res/values/donottranslate.xml
@@ -18,53 +18,61 @@
along with KeePass DX. If not, see .
-->
- http://code.google.com/p/android/issues/detail?id=35732
- /keepass/keepass.kdbx
-
- http://www.kunzisoft.com/keepassdx.html
- www.kunzisoft.com
- https://github.com/Kunzisoft/KeePassDX/issues
- market://details?id=org.openintents.filemanager
- https://openintents.googlecode.com/files/FileManager-2.0.2.apk
+ http://code.google.com/p/android/issues/detail?id=35732
+ /keepass/keepass.kdbx
+
+ http://www.kunzisoft.com/keepassdx.html
+ www.kunzisoft.com
+ https://github.com/Kunzisoft/KeePassDX/issues
+ market://details?id=org.openintents.filemanager
+ https://openintents.googlecode.com/files/FileManager-2.0.2.apk
- 8
+ 8
- algorithm
- app
- app_timeout_key
- clip_timeout_key
- db
- rounds
- keyfile
- maskpass
- omitbackup
- recentfile
- list_size
- show_beta_warning
- show_read_only_warning
- sort_key
- timeout_key
- storage_access_framework_key
- true
- true
- true
- true
- true
- false
+ algorithm
+ app
+ app_timeout_key
+ clip_timeout_key
+ db
+ rounds
+ keyfile
+ maskpass
+ omitbackup
+ recentfile
+ list_size
+ show_beta_warning
+ show_read_only_warning
+ sort_key
+ timeout_key
+ storage_access_framework_key
+ setting_style_key
+
+ true
+ true
+ true
+ true
+ true
+ false
- 300000
+ 300000
- - 30000
- - 60000
- - 300000
- - -1
+ - 30000
+ - 60000
+ - 300000
+ - -1
- 18
+ 18
- - 14
- - 18
- - 26
+ - 14
+ - 18
+ - 26
+
+ KeepassDXStyle_Light
+ KeepassDXStyle_Night
+
+ - @string/list_style_name_light
+ - @string/list_style_name_night
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 514daec14..93459bc26 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -202,6 +202,7 @@
Use fingerprint to store this password
No password stored yet for this database
+
- 30 seconds
- 1 minute
@@ -213,4 +214,11 @@
- Medium
- Large
+
+ Select a theme
+ Change the theme of the application by changing the colors
+
+ - Light Theme
+ - Night Theme
+
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index e07335c02..221ae0628 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -59,12 +59,12 @@
@@ -77,12 +77,12 @@