[tor-commits] [snowflake-mobile/master] Added colors for snowflake icon
cohosh at torproject.org
cohosh at torproject.org
Mon Aug 10 16:49:27 UTC 2020
commit f496bcc7a902fa458667aa745956f4d2fcfa00f6
Author: Hashik Donthineni <HashikDonthineni at gmail.com>
Date: Thu Aug 6 19:35:07 2020 +0530
Added colors for snowflake icon
---
app/src/main/res/layout/fragment_main.xml | 1 +
app/src/main/res/values/colors.xml | 3 +++
2 files changed, 4 insertions(+)
diff --git a/app/src/main/res/layout/fragment_main.xml b/app/src/main/res/layout/fragment_main.xml
index 2c7cc48..28c927f 100644
--- a/app/src/main/res/layout/fragment_main.xml
+++ b/app/src/main/res/layout/fragment_main.xml
@@ -24,6 +24,7 @@
android:id="@+id/snowflake_logo"
android:layout_width="200dp"
android:layout_height="200dp"
+ android:tint="@color/snowflakeOff"
android:layout_centerHorizontal="true"
android:layout_marginTop="150dp"
android:src="@drawable/ic_status_on" />
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 56f8768..309f559 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -5,4 +5,7 @@
<color name="colorAccent">#CC80FF</color>
<color name="colorText">#FFFF</color>
<color name="colorTextSecondary">#757575</color>
+ <color name="snowflakeOff">#AAAAAA</color>
+ <color name="snowflakeOn">#8000D7</color>
+ <color name="snowflakeConnected">#00FFB0</color>
</resources>
More information about the tor-commits
mailing list