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:
parent
f35e059194
commit
6493a9a1f2
@ -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" />
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user