Moved icons on thumbnails to other positions

fix #2102
This commit is contained in:
Agnieszka C 2021-12-01 13:29:17 +01:00
parent cbb9bcc4e5
commit 2378eaa547
5 changed files with 18 additions and 18 deletions

View file

@ -17,7 +17,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_alignParentBottom="true" android:layout_alignParentTop="true"
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/small_margin"
android:fontFamily="sans-serif-medium" android:fontFamily="sans-serif-medium"
android:shadowColor="@color/default_background_color" android:shadowColor="@color/default_background_color"
@ -32,9 +32,9 @@
android:layout_width="@dimen/favorite_icon_size" android:layout_width="@dimen/favorite_icon_size"
android:layout_height="@dimen/favorite_icon_size" android:layout_height="@dimen/favorite_icon_size"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_alignParentStart="true" android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/small_margin"
android:padding="@dimen/tiny_margin" android:padding="@dimen/small_margin"
android:gravity="end" android:gravity="end"
android:background="@drawable/circle_black_background" android:background="@drawable/circle_black_background"
android:src="@drawable/ic_star_vector" android:src="@drawable/ic_star_vector"

View file

@ -19,11 +19,11 @@
<ImageView <ImageView
android:id="@+id/favorite" android:id="@+id/favorite"
android:layout_width="@dimen/favorite_icon_size" android:layout_width="@dimen/favorite_list_icon_size"
android:layout_height="@dimen/favorite_icon_size" android:layout_height="@dimen/favorite_list_icon_size"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/smaller_margin"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:gravity="end" android:gravity="end"
android:background="@drawable/circle_black_background" android:background="@drawable/circle_black_background"

View file

@ -17,7 +17,7 @@
android:layout_width="@dimen/selection_check_size" android:layout_width="@dimen/selection_check_size"
android:layout_height="@dimen/selection_check_size" android:layout_height="@dimen/selection_check_size"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_alignParentBottom="true" android:layout_alignParentTop="true"
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/small_margin"
android:src="@drawable/ic_play_outline_vector" android:src="@drawable/ic_play_outline_vector"
android:visibility="gone" /> android:visibility="gone" />
@ -27,9 +27,9 @@
android:layout_width="@dimen/favorite_icon_size" android:layout_width="@dimen/favorite_icon_size"
android:layout_height="@dimen/favorite_icon_size" android:layout_height="@dimen/favorite_icon_size"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_alignParentStart="true" android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/small_margin"
android:padding="@dimen/tiny_margin" android:padding="@dimen/small_margin"
android:gravity="end" android:gravity="end"
android:background="@drawable/circle_black_background" android:background="@drawable/circle_black_background"
android:src="@drawable/ic_star_vector" android:src="@drawable/ic_star_vector"
@ -37,15 +37,14 @@
<TextView <TextView
android:id="@+id/video_duration" android:id="@+id/video_duration"
android:layout_width="match_parent" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true" android:layout_alignParentTop="true"
android:layout_alignParentEnd="true" android:layout_toRightOf="@id/play_portrait_outline"
android:layout_marginTop="@dimen/small_margin"
android:ellipsize="end" android:ellipsize="end"
android:gravity="end" android:gravity="end"
android:maxLines="1" android:maxLines="1"
android:paddingLeft="@dimen/small_margin"
android:paddingRight="@dimen/small_margin"
android:shadowColor="@color/default_background_color" android:shadowColor="@color/default_background_color"
android:shadowRadius="4" android:shadowRadius="4"
android:textColor="@android:color/white" android:textColor="@android:color/white"

View file

@ -19,11 +19,11 @@
<ImageView <ImageView
android:id="@+id/favorite" android:id="@+id/favorite"
android:layout_width="@dimen/favorite_icon_size" android:layout_width="@dimen/favorite_list_icon_size"
android:layout_height="@dimen/favorite_icon_size" android:layout_height="@dimen/favorite_list_icon_size"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/smaller_margin"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:gravity="end" android:gravity="end"
android:background="@drawable/circle_black_background" android:background="@drawable/circle_black_background"

View file

@ -4,7 +4,8 @@
<dimen name="medium_tmb_size">100dp</dimen> <dimen name="medium_tmb_size">100dp</dimen>
<dimen name="sd_card_icon_size">20dp</dimen> <dimen name="sd_card_icon_size">20dp</dimen>
<dimen name="play_outline_icon_size">22dp</dimen> <dimen name="play_outline_icon_size">22dp</dimen>
<dimen name="favorite_icon_size">24dp</dimen> <dimen name="favorite_list_icon_size">17dp</dimen>
<dimen name="favorite_icon_size">26dp</dimen>
<dimen name="selection_check_size">26dp</dimen> <dimen name="selection_check_size">26dp</dimen>
<dimen name="drag_handle_size">34dp</dimen> <dimen name="drag_handle_size">34dp</dimen>
<dimen name="play_outline_size_big">96dp</dimen> <dimen name="play_outline_size_big">96dp</dimen>