diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-07-30 11:01:11 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-30 14:28:27 +0200 |
commit | 6493a9a1f2878f9c95472fc86052b8facab66341 (patch) | |
tree | 9f49233b1deb1a672014ee5b34a5ccf295ad7524 | |
parent | f35e05919417600ca6ec95a29b94b3a94d264aea (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>
-rw-r--r-- | app/src/main/res/layout/tunnel_list_fragment.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values-night/colors.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 3 |
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> |