summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMohamed Zenadi <zeapo@users.noreply.github.com>2015-11-22 14:19:48 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2015-11-22 14:19:48 +0100
commit5b3cc540e413395dc4771d810058fcd467efab4c (patch)
treec6679cd86ad22786a3a977608e6a96eb1cfc485d /app/src/main/res
parent97087ba33e1deaa74e0fa4c51d527f18efa7c754 (diff)
parent6e789a38f10da7c75fde3bed336dbf1d904d8efc (diff)
Merge pull request #149 from zeapo/fix/external
Add warnings to the user about storing the passwords on the sdcard
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/values/styles.xml17
2 files changed, 18 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 4047691f..9cb6ac1b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -9,7 +9,7 @@
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="dialog_delete_title">Directory already exist</string>
- <string name="dialog_delete_msg">Target directory already exist. Current version support only a single store. Do you want to delete the current password store directory?</string>
+ <string name="dialog_delete_msg">Target directory already exist. Current version support only a single store. Do you want to delete the current password store directory:</string>
<string name="dialog_delete">Delete directory</string>
<string name="dialog_do_not_delete">Cancel</string>
<string name="title_activity_git_clone">Repository information</string>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 3fffef42..fc592058 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -13,4 +13,21 @@
<style name="ActionMode" parent="@style/Widget.AppCompat.ActionMode">
<item name="background">@color/blue_grey_700</item>
</style>
+
+ <!-- You can also inherit from NNF_BaseTheme.Light -->
+ <style name="FilePickerTheme" parent="NNF_BaseTheme">
+ <!-- Set these to match your theme -->
+ <item name="colorPrimary">@color/blue_grey_500</item>
+ <item name="colorPrimaryDark">@color/blue_grey_700</item>
+ <item name="colorAccent">@color/teal_A700</item>
+
+ <!-- Need to set this also to style create folder dialog -->
+ <item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
+ </style>
+
+ <style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Dialog.Alert">
+ <item name="colorPrimary">@color/blue_grey_500</item>
+ <item name="colorPrimaryDark">@color/blue_grey_700</item>
+ <item name="colorAccent">@color/teal_A700</item>
+ </style>
</resources>