diff --git a/app/src/main/res/layout/list_stream_grid_item.xml b/app/src/main/res/layout/list_stream_grid_item.xml
index 4e3d6edfb..5bf6bed68 100644
--- a/app/src/main/res/layout/list_stream_grid_item.xml
+++ b/app/src/main/res/layout/list_stream_grid_item.xml
@@ -1,5 +1,6 @@
-
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+ app:layout_constraintBottom_toTopOf="@+id/itemUploaderView"
+ app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView"
+ app:layout_constraintStart_toStartOf="@+id/itemThumbnailView"
+ app:layout_constraintTop_toBottomOf="@+id/itemProgressView"
+ tools:text="@tools:sample/lorem[10]" />
+ app:layout_constraintBottom_toTopOf="@+id/itemAdditionalDetails"
+ app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView"
+ app:layout_constraintStart_toStartOf="@+id/itemThumbnailView"
+ app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView"
+ tools:text="Uploader name long very very long long" />
+ android:progressDrawable="?progress_horizontal_drawable"
+ app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView"
+ app:layout_constraintStart_toStartOf="@+id/itemThumbnailView"
+ app:layout_constraintTop_toBottomOf="@+id/itemThumbnailView" />
-
+
diff --git a/app/src/main/res/layout/list_stream_item.xml b/app/src/main/res/layout/list_stream_item.xml
index f30337fec..f1936e704 100644
--- a/app/src/main/res/layout/list_stream_item.xml
+++ b/app/src/main/res/layout/list_stream_item.xml
@@ -14,47 +14,41 @@
android:id="@+id/itemThumbnailView"
android:layout_width="@dimen/video_item_search_thumbnail_image_width"
android:layout_height="@dimen/video_item_search_thumbnail_image_height"
- android:layout_marginRight="@dimen/video_item_search_image_right_margin"
android:contentDescription="@string/list_thumbnail_view_description"
android:scaleType="centerCrop"
android:src="@drawable/dummy_thumbnail"
- app:layout_constraintEnd_toStartOf="@+id/itemVideoTitleView"
- app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintBottom_toTopOf="@+id/itemProgressView"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- tools:ignore="RtlHardcoded" />
+ app:layout_constraintTop_toTopOf="parent" />
@@ -67,8 +61,9 @@
android:lines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_uploader_text_size"
- app:layout_constraintLeft_toLeftOf="@+id/itemVideoTitleView"
- app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintBottom_toTopOf="@+id/itemAdditionalDetails"
+ app:layout_constraintEnd_toEndOf="@+id/itemVideoTitleView"
+ app:layout_constraintStart_toStartOf="@+id/itemVideoTitleView"
app:layout_constraintTop_toBottomOf="@+id/itemVideoTitleView"
tools:text="Uploader" />
@@ -76,15 +71,13 @@
android:id="@+id/itemAdditionalDetails"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_toEndOf="@+id/itemThumbnailView"
- android:layout_toRightOf="@+id/itemThumbnailView"
android:ellipsize="end"
android:lines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_upload_date_text_size"
app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="@+id/itemVideoTitleView"
- app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintEnd_toEndOf="@+id/itemVideoTitleView"
+ app:layout_constraintStart_toStartOf="@+id/itemVideoTitleView"
app:layout_constraintTop_toBottomOf="@+id/itemUploaderView"
tools:text="2 years ago • 10M views" />
@@ -93,9 +86,8 @@
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="0dp"
android:layout_height="4dp"
- android:layout_below="@id/itemThumbnailView"
- android:layout_marginTop="-2dp"
android:progressDrawable="?progress_horizontal_drawable"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/itemThumbnailView"
app:layout_constraintStart_toStartOf="@+id/itemThumbnailView"
app:layout_constraintTop_toBottomOf="@+id/itemThumbnailView" />