diff --git a/app/src/main/res/layout/playlist_row.xml b/app/src/main/res/layout/playlist_row.xml index b0c4e6095..cca5c2238 100644 --- a/app/src/main/res/layout/playlist_row.xml +++ b/app/src/main/res/layout/playlist_row.xml @@ -2,12 +2,12 @@ + android:background="?android:attr/selectableItemBackground"> + app:strokeWidth="0dp"> - + app:cardBackgroundColor="@color/duration_background_color" + app:cardCornerRadius="8dp" + app:cardElevation="0dp"> + + + + + android:src="@drawable/ic_delete" + android:visibility="gone" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:shapeAppearanceOverlay="@style/roundedImageViewRounded" /> \ No newline at end of file diff --git a/app/src/main/res/layout/trending_row.xml b/app/src/main/res/layout/trending_row.xml index 72260e2ed..c62ad6cb9 100644 --- a/app/src/main/res/layout/trending_row.xml +++ b/app/src/main/res/layout/trending_row.xml @@ -1,10 +1,10 @@ + android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground"> + app:layout_constraintTop_toTopOf="parent"> + android:layout_height="match_parent" + android:src="@mipmap/ic_launcher" /> - + app:cardBackgroundColor="@color/duration_background_color" + app:cardCornerRadius="8dp" + app:cardElevation="0dp"> + + + + + @@ -45,24 +58,24 @@ android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:layout_marginEnd="8dp" + android:ellipsize="end" + android:maxLines="2" android:text="Title" android:textSize="15sp" android:textStyle="bold" app:layout_constraintEnd_toEndOf="@+id/thumbnailcard" app:layout_constraintStart_toEndOf="@+id/channel_image" - app:layout_constraintTop_toBottomOf="@+id/thumbnailcard" - android:ellipsize="end" - android:maxLines="2" /> + app:layout_constraintTop_toBottomOf="@+id/thumbnailcard" /> + app:layout_constraintTop_toBottomOf="@+id/textView_title" /> + android:background="?android:attr/selectableItemBackground"> + app:strokeWidth="0dp"> - + app:cardBackgroundColor="@color/duration_background_color" + app:cardCornerRadius="8dp" + app:cardElevation="0dp"> + + + + + + android:background="?android:attr/selectableItemBackground"> + app:strokeWidth="0dp"> - + app:cardBackgroundColor="@color/duration_background_color" + app:cardCornerRadius="8dp" + app:cardElevation="0dp"> + + + + + @@ -83,9 +96,9 @@ android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginTop="12dp" - app:layout_constraintEnd_toEndOf="parent" - android:maxLines="1" android:ellipsize="end" + android:maxLines="1" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/search_channel_image" app:layout_constraintTop_toBottomOf="@+id/search_views" />