From 6c749319cf1887024d4471a2137dee6868c8b3ed Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 23 Jan 2018 12:49:26 -0500 Subject: [PATCH] increase touch area for 3 dot in chapter list (#1205) * increase touch area for 3 dot in chapter list * moved 3 dot over and made it vertical * adjusted location slightly --- app/src/main/res/drawable/ic_more_vert_black_24dp.xml | 9 +++++++++ app/src/main/res/layout/chapters_item.xml | 10 ++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable/ic_more_vert_black_24dp.xml diff --git a/app/src/main/res/drawable/ic_more_vert_black_24dp.xml b/app/src/main/res/drawable/ic_more_vert_black_24dp.xml new file mode 100644 index 000000000..0ef23a567 --- /dev/null +++ b/app/src/main/res/drawable/ic_more_vert_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/chapters_item.xml b/app/src/main/res/layout/chapters_item.xml index 6e9bc9eab..aca9e1f3a 100644 --- a/app/src/main/res/layout/chapters_item.xml +++ b/app/src/main/res/layout/chapters_item.xml @@ -62,13 +62,15 @@ android:id="@+id/chapter_menu" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:srcCompat="@drawable/ic_more_horiz_black_24dp" + app:srcCompat="@drawable/ic_more_vert_black_24dp" app:layout_constraintRight_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent" - android:paddingStart="12dp" - android:paddingEnd="12dp" - android:paddingBottom="12dp" + android:paddingStart="24dp" + android:paddingEnd="16dp" + android:layout_marginEnd="8dp" + android:paddingBottom="24dp" android:paddingTop="12dp" + android:background="@color/md_teal_500" android:contentDescription="@string/description_cover"/>