make the video thumbnail video circle a bit smaller

This commit is contained in:
tibbi 2017-08-07 22:57:41 +02:00
parent 5ece5ff90b
commit 2ebcaf12aa
7 changed files with 5 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -25,12 +25,12 @@
<ImageView <ImageView
android:id="@+id/play_outline" android:id="@+id/play_outline"
android:layout_width="@dimen/play_outline_size" android:layout_width="@dimen/selection_check_size"
android:layout_height="@dimen/play_outline_size" android:layout_height="@dimen/selection_check_size"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_margin="@dimen/tiny_margin" android:layout_margin="@dimen/small_margin"
android:src="@drawable/img_play_outline" android:src="@drawable/img_play_outline"
android:visibility="gone"/> android:visibility="gone"/>
@ -44,7 +44,6 @@
android:background="@drawable/gradient_background" android:background="@drawable/gradient_background"
android:gravity="bottom" android:gravity="bottom"
android:maxLines="3" android:maxLines="3"
android:minHeight="@dimen/play_outline_size"
android:paddingBottom="@dimen/small_margin" android:paddingBottom="@dimen/small_margin"
android:paddingLeft="@dimen/small_margin" android:paddingLeft="@dimen/small_margin"
android:paddingRight="@dimen/small_margin" android:paddingRight="@dimen/small_margin"

View file

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<dimen name="dir_tmb_size">150dp</dimen> <dimen name="dir_tmb_size">150dp</dimen>
<dimen name="medium_tmb_size">120dp</dimen> <dimen name="medium_tmb_size">120dp</dimen>
<dimen name="pin_size">30dp</dimen> <dimen name="pin_size">30dp</dimen>
<dimen name="selection_check_size">38dp</dimen> <dimen name="selection_check_size">38dp</dimen>
<dimen name="play_outline_size">60dp</dimen>
<dimen name="play_outline_size_big">230dp</dimen> <dimen name="play_outline_size_big">230dp</dimen>
<dimen name="timer_padding">32dp</dimen> <dimen name="timer_padding">32dp</dimen>
<dimen name="tmb_shadow_height">60dp</dimen> <dimen name="tmb_shadow_height">60dp</dimen>
<dimen name="video_side_slider_width">250dp</dimen>
</resources> </resources>

View file

@ -4,7 +4,6 @@
<dimen name="medium_tmb_size">100dp</dimen> <dimen name="medium_tmb_size">100dp</dimen>
<dimen name="pin_size">20dp</dimen> <dimen name="pin_size">20dp</dimen>
<dimen name="selection_check_size">26dp</dimen> <dimen name="selection_check_size">26dp</dimen>
<dimen name="play_outline_size">40dp</dimen>
<dimen name="play_outline_size_big">150dp</dimen> <dimen name="play_outline_size_big">150dp</dimen>
<dimen name="timer_padding">24dp</dimen> <dimen name="timer_padding">24dp</dimen>
<dimen name="tmb_shadow_height">50dp</dimen> <dimen name="tmb_shadow_height">50dp</dimen>