aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-11-18 22:06:21 +0100
committerChristian Schneppe <christian@pix-art.de>2016-11-18 22:06:21 +0100
commit7bc0ddde205da85b6eec2b6803724f7e67dd2beb (patch)
tree38afbd7e7d5834592cd960961159c1a262624aa8
parent9cd032cc7337c87bd1f38326d2497f8eed101de3 (diff)
slightly darken verified icon + mark inactive
-rw-r--r--src/main/java/de/pixart/messenger/OmemoActivity.java2
-rw-r--r--src/main/res/drawable-hdpi/ic_verified_fingerprint.pngbin1336 -> 1324 bytes
-rw-r--r--src/main/res/drawable-mdpi/ic_verified_fingerprint.pngbin1032 -> 1022 bytes
-rw-r--r--src/main/res/drawable-xhdpi/ic_verified_fingerprint.pngbin1557 -> 1551 bytes
-rw-r--r--src/main/res/drawable-xxhdpi/ic_verified_fingerprint.pngbin2305 -> 2306 bytes
-rw-r--r--src/main/res/drawable-xxxhdpi/ic_verified_fingerprint.pngbin2794 -> 2773 bytes
6 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/OmemoActivity.java b/src/main/java/de/pixart/messenger/OmemoActivity.java
index c71e306df..f60b064cf 100644
--- a/src/main/java/de/pixart/messenger/OmemoActivity.java
+++ b/src/main/java/de/pixart/messenger/OmemoActivity.java
@@ -109,6 +109,7 @@ public abstract class OmemoActivity extends XmppActivity {
keyType.setTextColor(getSecondaryTextColor());
if (status.isVerified()) {
verifiedFingerprintSymbol.setVisibility(View.VISIBLE);
+ verifiedFingerprintSymbol.setAlpha(1.0f);
trustToggle.setVisibility(View.GONE);
verifiedFingerprintSymbol.setOnClickListener(new View.OnClickListener() {
@Override
@@ -154,6 +155,7 @@ public abstract class OmemoActivity extends XmppActivity {
if (status.isVerified()) {
trustToggle.setVisibility(View.GONE);
verifiedFingerprintSymbol.setVisibility(View.VISIBLE);
+ verifiedFingerprintSymbol.setAlpha(0.4368f);
verifiedFingerprintSymbol.setOnClickListener(toast);
} else {
trustToggle.setVisibility(View.VISIBLE);
diff --git a/src/main/res/drawable-hdpi/ic_verified_fingerprint.png b/src/main/res/drawable-hdpi/ic_verified_fingerprint.png
index 297dea0d0..8f21db57f 100644
--- a/src/main/res/drawable-hdpi/ic_verified_fingerprint.png
+++ b/src/main/res/drawable-hdpi/ic_verified_fingerprint.png
Binary files differ
diff --git a/src/main/res/drawable-mdpi/ic_verified_fingerprint.png b/src/main/res/drawable-mdpi/ic_verified_fingerprint.png
index 250ea4cd4..4ce5e60ff 100644
--- a/src/main/res/drawable-mdpi/ic_verified_fingerprint.png
+++ b/src/main/res/drawable-mdpi/ic_verified_fingerprint.png
Binary files differ
diff --git a/src/main/res/drawable-xhdpi/ic_verified_fingerprint.png b/src/main/res/drawable-xhdpi/ic_verified_fingerprint.png
index ba8162601..ad03a41b6 100644
--- a/src/main/res/drawable-xhdpi/ic_verified_fingerprint.png
+++ b/src/main/res/drawable-xhdpi/ic_verified_fingerprint.png
Binary files differ
diff --git a/src/main/res/drawable-xxhdpi/ic_verified_fingerprint.png b/src/main/res/drawable-xxhdpi/ic_verified_fingerprint.png
index e86e8efcc..5936da967 100644
--- a/src/main/res/drawable-xxhdpi/ic_verified_fingerprint.png
+++ b/src/main/res/drawable-xxhdpi/ic_verified_fingerprint.png
Binary files differ
diff --git a/src/main/res/drawable-xxxhdpi/ic_verified_fingerprint.png b/src/main/res/drawable-xxxhdpi/ic_verified_fingerprint.png
index 5c78ac272..c738090e7 100644
--- a/src/main/res/drawable-xxxhdpi/ic_verified_fingerprint.png
+++ b/src/main/res/drawable-xxxhdpi/ic_verified_fingerprint.png
Binary files differ