summaryrefslogtreecommitdiffhomepage
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2018-07-30 11:01:11 +0530
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-30 14:28:27 +0200
commit6493a9a1f2878f9c95472fc86052b8facab66341 (patch)
tree9f49233b1deb1a672014ee5b34a5ccf295ad7524 /app/src/main
parentf35e05919417600ca6ec95a29b94b3a94d264aea (diff)
Remove placeholder color and directly use alpha
Why wasn't this done like this in the first place? Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/tunnel_list_fragment.xml2
-rw-r--r--app/src/main/res/values-night/colors.xml3
-rw-r--r--app/src/main/res/values/colors.xml3
3 files changed, 1 insertions, 7 deletions
diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml
index 3e31159c..a442c3be 100644
--- a/app/src/main/res/layout/tunnel_list_fragment.xml
+++ b/app/src/main/res/layout/tunnel_list_fragment.xml
@@ -49,7 +49,7 @@
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_gravity="center"
- android:tint="@color/transparent_background_placeholder"
+ android:alpha="0.3333333"
android:layout_marginTop="-70dp"
android:layout_marginBottom="20dp"
android:src="@mipmap/ic_launcher" />
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
index 08a5403f..9a43b163 100644
--- a/app/src/main/res/values-night/colors.xml
+++ b/app/src/main/res/values-night/colors.xml
@@ -7,7 +7,4 @@
<color name="fab_label_background_color">#bbbbbb</color>
<color name="accent">#5e97f6</color>
-
- <!-- TODO(msf): replace with ?android:attr/colorBackground with some alpha -->
- <color name="transparent_background_placeholder">#aa2e2e2e</color>
</resources>
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index d8e8018c..87454a73 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -7,7 +7,4 @@
<color name="fab_label_background_color">#444444</color>
<color name="accent">#2196F3</color>
-
- <!-- TODO(msf): replace with ?android:attr/colorBackground with some alpha -->
- <color name="transparent_background_placeholder">#aafafafa</color>
</resources>