diff --git a/app/src/main/kotlin/org/fossify/gallery/adapters/MediaAdapter.kt b/app/src/main/kotlin/org/fossify/gallery/adapters/MediaAdapter.kt
index c40b45e9a..5f681344f 100644
--- a/app/src/main/kotlin/org/fossify/gallery/adapters/MediaAdapter.kt
+++ b/app/src/main/kotlin/org/fossify/gallery/adapters/MediaAdapter.kt
@@ -619,7 +619,13 @@ class MediaAdapter(
playPortraitOutline?.beVisibleIf(medium.isVideo() || medium.isPortrait())
if (medium.isVideo()) {
- playPortraitOutline?.setImageResource(org.fossify.commons.R.drawable.ic_play_vector)
+ playPortraitOutline?.setImageResource(
+ if (isListViewType) {
+ org.fossify.commons.R.drawable.ic_play_outline_vector
+ } else {
+ org.fossify.commons.R.drawable.ic_play_vector
+ }
+ )
playPortraitOutline?.beVisible()
} else if (medium.isPortrait()) {
playPortraitOutline?.setImageResource(R.drawable.ic_portrait_photo_vector)
@@ -648,6 +654,9 @@ class MediaAdapter(
videoDuration?.text = medium.videoDuration.getFormattedDuration()
}
videoDuration?.beVisibleIf(showVideoDuration)
+ if (isListViewType) {
+ videoDuration?.setTextColor(textColor)
+ }
mediumCheck.beVisibleIf(isSelected)
if (isSelected) {
diff --git a/app/src/main/res/layout/video_item_grid.xml b/app/src/main/res/layout/video_item_grid.xml
index 286afb1b6..1fe631111 100644
--- a/app/src/main/res/layout/video_item_grid.xml
+++ b/app/src/main/res/layout/video_item_grid.xml
@@ -10,7 +10,8 @@
+ android:layout_height="match_parent"
+ tools:src="@mipmap/ic_launcher" />
+ android:visibility="gone"
+ tools:visibility="visible" />
+ android:visibility="gone"
+ tools:src="@drawable/ic_play_vector"
+ tools:visibility="visible" />
+ tools:text="02:34"
+ tools:visibility="visible" />
@@ -72,7 +77,8 @@
android:contentDescription="@null"
android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check_vector"
- android:visibility="gone" />
+ android:visibility="gone"
+ tools:visibility="visible" />
+ android:layout_height="@dimen/list_view_folder_thumbnail_size"
+ tools:src="@mipmap/ic_launcher" />
+ android:visibility="gone"
+ tools:visibility="visible" />
+ android:visibility="gone"
+ tools:visibility="visible" />
+ android:visibility="gone"
+ tools:visibility="visible" />