|
@@ -30,32 +30,25 @@
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
- <FrameLayout
|
|
|
|
- android:id="@+id/shimmer_view_container"
|
|
|
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderImageView
|
|
|
|
+ android:id="@+id/thumbnail_shimmer"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:clipChildren="true">
|
|
|
|
|
|
+ android:layout_margin="@dimen/grid_image_icon_margin"
|
|
|
|
+ android:contentDescription="@null"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ app:corners="6"
|
|
|
|
+ app:height_weight="0.6"
|
|
|
|
+ app:width_weight="0.4" />
|
|
|
|
|
|
- <com.elyeproj.loaderviewlibrary.LoaderImageView
|
|
|
|
- android:id="@+id/thumbnail_shimmer"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_margin="@dimen/grid_image_icon_margin"
|
|
|
|
- android:contentDescription="@null"
|
|
|
|
- android:visibility="gone"
|
|
|
|
- app:corners="6"
|
|
|
|
- app:height_weight="0.6"
|
|
|
|
- app:width_weight="0.4" />
|
|
|
|
-
|
|
|
|
- <com.owncloud.android.ui.SquareImageView
|
|
|
|
- android:id="@+id/thumbnail"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:contentDescription="@null"
|
|
|
|
- android:padding="@dimen/grid_image_icon_padding"
|
|
|
|
- android:scaleType="centerCrop"
|
|
|
|
- android:src="@drawable/folder" />
|
|
|
|
- </FrameLayout>
|
|
|
|
|
|
+ <com.owncloud.android.ui.SquareImageView
|
|
|
|
+ android:id="@+id/thumbnail"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:contentDescription="@null"
|
|
|
|
+ android:padding="@dimen/grid_image_icon_padding"
|
|
|
|
+ android:scaleType="centerCrop"
|
|
|
|
+ android:src="@drawable/folder" />
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/favorite_action"
|
|
android:id="@+id/favorite_action"
|