Further simplified customGlideRequests, adding placeholder, error and fallback colors

This commit is contained in:
antonio 2023-03-14 10:48:13 +01:00
parent f5a3ba49cc
commit 40cfbef4d7
7 changed files with 65 additions and 59 deletions

View file

@ -12,7 +12,7 @@
android:layout_marginTop="20dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="8dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<LinearLayout
android:layout_width="wrap_content"
@ -27,7 +27,7 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<ImageView
android:layout_width="196dp"
@ -35,7 +35,7 @@
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<ImageView
android:layout_width="196dp"
@ -43,7 +43,7 @@
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
</LinearLayout>
<LinearLayout
@ -58,7 +58,7 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<ImageView
android:layout_width="196dp"
@ -66,7 +66,7 @@
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<ImageView
android:layout_width="196dp"
@ -74,7 +74,7 @@
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
</LinearLayout>
<LinearLayout
@ -89,7 +89,7 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<ImageView
android:layout_width="196dp"
@ -97,7 +97,7 @@
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
<ImageView
android:layout_width="196dp"
@ -105,6 +105,6 @@
android:layout_gravity="center"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
android:background="?attr/colorSurfaceContainer" />
android:background="?attr/colorSurface" />
</LinearLayout>
</LinearLayout>