aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/values/attr.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-03-05 23:29:43 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-03-05 23:29:43 +0100
commit23b8e8272cfd1b2f9f56771f30b944c93db53d9d (patch)
tree3aba47ab5b0de2e978a6d89b6f0739b9cc0b2f6f /OpenKeychain/src/main/res/values/attr.xml
parente50eda4e29e4618e29756f19ec67b1d5ac0e9733 (diff)
parent438314c4bb092235331484262183d68810d6cd8f (diff)
downloadopen-keychain-23b8e8272cfd1b2f9f56771f30b944c93db53d9d.tar.gz
open-keychain-23b8e8272cfd1b2f9f56771f30b944c93db53d9d.tar.bz2
open-keychain-23b8e8272cfd1b2f9f56771f30b944c93db53d9d.zip
Merge branch 'issue1050' of https://github.com/lezorich/open-keychain into passphrase-strength-indicator
Conflicts: OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyInputFragment.java
Diffstat (limited to 'OpenKeychain/src/main/res/values/attr.xml')
-rw-r--r--OpenKeychain/src/main/res/values/attr.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/values/attr.xml b/OpenKeychain/src/main/res/values/attr.xml
index 98ce1c364..7a2f3054e 100644
--- a/OpenKeychain/src/main/res/values/attr.xml
+++ b/OpenKeychain/src/main/res/values/attr.xml
@@ -15,4 +15,18 @@
</attr>
</declare-styleable>
+ <!-- Taken from Matt Allen Password Strength View
+ https://github.com/matt-allen/android-password-strength-indicator -->
+ <declare-styleable name="PasswordStrengthView">
+ <attr name="strength" format="enum">
+ <enum name="weak" value="0" />
+ <enum name="medium" value="1" />
+ <enum name="strong" value="2" />
+ </attr>
+ <attr name="showGuides" format="boolean" />
+ <attr name="color_fail" format="color" />
+ <attr name="color_weak" format="color" />
+ <attr name="color_strong" format="color" />
+ </declare-styleable>
+
</resources> \ No newline at end of file