summaryrefslogtreecommitdiffstats
path: root/res/layout/wallpaper_preview_card.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/wallpaper_preview_card.xml')
-rw-r--r--res/layout/wallpaper_preview_card.xml23
1 files changed, 10 insertions, 13 deletions
diff --git a/res/layout/wallpaper_preview_card.xml b/res/layout/wallpaper_preview_card.xml
index 67bd04d..229b26b 100644
--- a/res/layout/wallpaper_preview_card.xml
+++ b/res/layout/wallpaper_preview_card.xml
@@ -17,14 +17,9 @@
style="@style/FullContentPreviewCard"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:clipChildren="true"
android:contentDescription="@string/wallpaper_preview_card_content_description">
- <ImageView
- android:id="@+id/wallpaper_preview_image"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/primary_color" />
-
<SurfaceView
android:id="@+id/wallpaper_surface"
android:layout_width="match_parent"
@@ -42,10 +37,12 @@
android:layout_height="match_parent"
android:importantForAccessibility="noHideDescendants" />
- <View
- android:id="@+id/fade_cover"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:alpha="0"
- android:background="@color/preview_pager_background" />
-</androidx.cardview.widget.CardView> \ No newline at end of file
+ <androidx.core.widget.ContentLoadingProgressBar
+ android:id="@+id/wallpaper_preview_spinner"
+ style="?android:progressBarStyleLarge"
+ android:background="@android:color/transparent"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:visibility="gone" />
+</androidx.cardview.widget.CardView>