Improve placeholder thumbnail SVGs and remove theme customization

Theme customization does not seem to work well with Picasso: square/picasso#1275
This commit is contained in:
Stypox 2022-07-14 10:56:28 +02:00
parent 7b9b9218dc
commit 4d58026d06
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
5 changed files with 7 additions and 30 deletions

View File

@ -1,20 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M0,0 L24,0 L24,24 L0,24 z"
android:fillColor="@color/placeholder_foreground" />
<group android:scaleX="0.8333333"
android:scaleY="0.8333333"
android:translateX="2"
android:translateY="2">
<path
android:pathData="M12,12c2.21,0 4,-1.79 4,-4s-1.79,-4 -4,-4 -4,1.79 -4,4 1.79,4 4,4zM12,14c-2.67,0 -8,1.34 -8,4v2h16v-2c0,-2.66 -5.33,-4 -8,-4z"
android:fillColor="@color/placeholder_background" />
</group>
</vector>

View File

@ -5,8 +5,8 @@
android:viewportHeight="24">
<path
android:pathData="M0,0h24v24h-24z"
android:fillColor="@color/placeholder_foreground" />
<path
android:pathData="M15,11.9023L12.2188,13.3828L9.0898,15L9.0273,12.1641L9,9L11.8477,10.3555ZM15,11.9023"
android:fillColor="@color/placeholder_background" />
<path
android:pathData="M15,12L9,15L9,9"
android:fillColor="@color/placeholder_foreground" />
</vector>

View File

@ -7,9 +7,9 @@
android:pathData="M0,0h24v24h-24z"
android:fillColor="@color/placeholder_background" />
<path
android:pathData="M13.8008,11.9023L11.0156,13.3828L7.8906,15L7.8281,12.1641L7.8008,9L10.6484,10.3555ZM13.8008,11.9023"
android:pathData="M13,12L8,15L8,9"
android:fillColor="@color/placeholder_foreground" />
<path
android:pathData="M16.8008,11.9023L14.0156,13.3828L10.8906,15L10.8281,12.1641L10.8008,9L13.6484,10.3555ZM16.8008,11.9023"
android:pathData="M16,12L11,15L11,9"
android:fillColor="@color/placeholder_foreground" />
</vector>

View File

@ -2,7 +2,4 @@
<resources>
<color name="contrastColor">@color/white</color>
<color name="defaultIconTint">@color/white</color>
<color name="placeholder_background">#6C6C6C</color>
<color name="placeholder_foreground">#999999</color>
</resources>

View File

@ -6,8 +6,8 @@
<color name="ic_launcher_background">#CD201F</color>
<color name="placeholder_background">#6E6E6E</color>
<color name="placeholder_foreground">#F6F6F6</color>
<color name="placeholder_background">#999999</color>
<color name="placeholder_foreground">#6C6C6C</color>
<!-- Light Theme -->
<color name="light_background_color">#EEEEEE</color>