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>
This commit is contained in:
Harsh Shandilya 2018-07-30 11:01:11 +05:30 committed by Jason A. Donenfeld
parent f35e059194
commit 6493a9a1f2
3 changed files with 1 additions and 7 deletions

View File

@ -49,7 +49,7 @@
android:layout_width="140dp" android:layout_width="140dp"
android:layout_height="140dp" android:layout_height="140dp"
android:layout_gravity="center" android:layout_gravity="center"
android:tint="@color/transparent_background_placeholder" android:alpha="0.3333333"
android:layout_marginTop="-70dp" android:layout_marginTop="-70dp"
android:layout_marginBottom="20dp" android:layout_marginBottom="20dp"
android:src="@mipmap/ic_launcher" /> android:src="@mipmap/ic_launcher" />

View File

@ -7,7 +7,4 @@
<color name="fab_label_background_color">#bbbbbb</color> <color name="fab_label_background_color">#bbbbbb</color>
<color name="accent">#5e97f6</color> <color name="accent">#5e97f6</color>
<!-- TODO(msf): replace with ?android:attr/colorBackground with some alpha -->
<color name="transparent_background_placeholder">#aa2e2e2e</color>
</resources> </resources>

View File

@ -7,7 +7,4 @@
<color name="fab_label_background_color">#444444</color> <color name="fab_label_background_color">#444444</color>
<color name="accent">#2196F3</color> <color name="accent">#2196F3</color>
<!-- TODO(msf): replace with ?android:attr/colorBackground with some alpha -->
<color name="transparent_background_placeholder">#aafafafa</color>
</resources> </resources>