increasing the selected item checkmark margin

This commit is contained in:
tibbi 2020-11-30 19:52:55 +01:00
parent d197388735
commit 631d8a67f8
3 changed files with 9 additions and 10 deletions

View File

@ -77,7 +77,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.32.2' implementation 'com.simplemobiletools:commons:5.32.3'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'

View File

@ -35,7 +35,7 @@
android:layout_alignEnd="@+id/dir_shadow_holder" android:layout_alignEnd="@+id/dir_shadow_holder"
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/medium_margin"
android:background="@drawable/circle_background" android:background="@drawable/circle_background"
android:contentDescription="@null" android:contentDescription="@null"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/media_item_holder" android:id="@+id/media_item_holder"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -12,7 +11,7 @@
<com.simplemobiletools.gallery.pro.views.MySquareImageView <com.simplemobiletools.gallery.pro.views.MySquareImageView
android:id="@+id/medium_thumbnail" android:id="@+id/medium_thumbnail"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent" />
<ImageView <ImageView
android:id="@+id/play_outline" android:id="@+id/play_outline"
@ -22,7 +21,7 @@
android:layout_alignParentTop="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" />
<TextView <TextView
android:id="@+id/file_type" android:id="@+id/file_type"
@ -55,7 +54,7 @@
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="@dimen/normal_text_size" android:textSize="@dimen/normal_text_size"
android:visibility="gone" android:visibility="gone"
tools:text="02:34"/> tools:text="02:34" />
<ImageView <ImageView
android:id="@+id/medium_check" android:id="@+id/medium_check"
@ -64,12 +63,12 @@
android:layout_alignEnd="@+id/medium_name" android:layout_alignEnd="@+id/medium_name"
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/medium_margin"
android:background="@drawable/circle_background" android:background="@drawable/circle_background"
android:contentDescription="@null" android:contentDescription="@null"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check_vector" android:src="@drawable/ic_check_vector"
android:visibility="gone"/> android:visibility="gone" />
<TextView <TextView
android:id="@+id/medium_name" android:id="@+id/medium_name"
@ -89,6 +88,6 @@
android:shadowRadius="4" android:shadowRadius="4"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="@dimen/smaller_text_size" android:textSize="@dimen/smaller_text_size"
tools:text="My photo"/> tools:text="My photo" />
</RelativeLayout> </RelativeLayout>