|
@@ -26,44 +26,37 @@
|
|
|
android:background="@drawable/list_selector"
|
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
- <com.facebook.shimmer.ShimmerFrameLayout
|
|
|
- android:id="@+id/shimmer_view_container"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/thumbnail"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- app:shimmer_auto_start="false">
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:src="@drawable/folder" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/thumbnail"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:scaleType="centerCrop"
|
|
|
- android:src="@drawable/folder" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/thumbnailDarkener"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="#99000000"
|
|
|
- android:contentDescription="@null"
|
|
|
- android:scaleType="centerCrop" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/counterLayout"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/thumbnailDarkener"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#99000000"
|
|
|
+ android:contentDescription="@null"
|
|
|
+ android:scaleType="centerCrop" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/counterLayout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical|center_horizontal"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/counter"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical|center_horizontal"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/counter"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:src="@android:drawable/checkbox_off_background"
|
|
|
- android:text="@string/placeholder_fileSize"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="@dimen/grid_sync_item_layout_counter_text_size"
|
|
|
- android:textStyle="bold" />
|
|
|
- </LinearLayout>
|
|
|
- </com.facebook.shimmer.ShimmerFrameLayout>
|
|
|
+ android:src="@android:drawable/checkbox_off_background"
|
|
|
+ android:text="@string/placeholder_fileSize"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="@dimen/grid_sync_item_layout_counter_text_size"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
</FrameLayout>
|