make the checklist cross/check and drag handle a bit smaller

This commit is contained in:
tibbi 2021-01-10 19:24:50 +01:00
parent 74cdea8cfb
commit ebca8ff43d
2 changed files with 7 additions and 4 deletions

View File

@ -8,7 +8,8 @@
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:foreground="@drawable/selector">
android:foreground="@drawable/selector"
android:paddingEnd="@dimen/normal_margin">
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/checklist_title"
@ -26,7 +27,8 @@
android:id="@+id/checklist_image"
android:layout_width="@dimen/checklist_image_size"
android:layout_height="@dimen/checklist_image_size"
android:padding="@dimen/activity_margin"
android:paddingTop="@dimen/medium_margin"
android:paddingBottom="@dimen/medium_margin"
android:src="@drawable/ic_cross_vector"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/checklist_drag_handle"
@ -36,7 +38,8 @@
android:id="@+id/checklist_drag_handle"
android:layout_width="@dimen/checklist_image_size"
android:layout_height="@dimen/checklist_image_size"
android:padding="@dimen/normal_margin"
android:paddingTop="@dimen/normal_margin"
android:paddingBottom="@dimen/normal_margin"
android:src="@drawable/ic_drag_handle_vector"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"

View File

@ -1,3 +1,3 @@
<resources>
<dimen name="checklist_image_size">64dp</dimen>
<dimen name="checklist_image_size">52dp</dimen>
</resources>