aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java
diff options
context:
space:
mode:
authorThialfihar <thi@thialfihar.org>2015-06-26 12:05:15 +0200
committerThialfihar <thi@thialfihar.org>2015-07-21 20:56:12 +0200
commitdfe5a64fb036381f286d090f4d84ec22494a1fdc (patch)
tree2a3034e571a83d863d998c0669ccf568fcce46b5 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java
parent6b8127ca94541c48b7f098188708c3c7d65adc90 (diff)
downloadopen-keychain-dfe5a64fb036381f286d090f4d84ec22494a1fdc.tar.gz
open-keychain-dfe5a64fb036381f286d090f4d84ec22494a1fdc.tar.bz2
open-keychain-dfe5a64fb036381f286d090f4d84ec22494a1fdc.zip
Give key flag colors their own color names
This removes "bg_gray" and selector_transparent_button.xml, which is unused and the last file to reference "bg_gray".
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java
index 6669f2654..4ba4bc13e 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyAdvActivity.java
@@ -211,14 +211,14 @@ public class ViewKeyAdvActivity extends BaseActivity implements
// Note: order is important
int color;
if (isRevoked || isExpired) {
- color = getResources().getColor(R.color.android_red_light);
+ color = getResources().getColor(R.color.key_flag_red);
} else if (isSecret) {
color = getResources().getColor(R.color.primary);
} else {
if (isVerified) {
color = getResources().getColor(R.color.primary);
} else {
- color = getResources().getColor(R.color.android_orange_light);
+ color = getResources().getColor(R.color.key_flag_orange);
}
}
mToolbar.setBackgroundColor(color);