diff --git a/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersHolder.java b/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersHolder.java index 753680c71..1e5a983de 100644 --- a/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersHolder.java +++ b/app/src/main/java/eu/kanade/mangafeed/ui/manga/chapter/ChaptersHolder.java @@ -7,6 +7,7 @@ import android.support.v7.widget.RecyclerView; import android.view.MenuItem; import android.view.View; import android.widget.ImageView; +import android.widget.RelativeLayout; import android.widget.TextView; import java.text.SimpleDateFormat; @@ -27,7 +28,7 @@ public class ChaptersHolder extends RecyclerView.ViewHolder implements @Bind(R.id.chapter_title) TextView title; @Bind(R.id.download_text) TextView downloadText; - @Bind(R.id.chapter_menu) ImageView chapterMenu; + @Bind(R.id.chapter_menu) RelativeLayout chapterMenu; @Bind(R.id.chapter_pages) TextView pages; @Bind(R.id.chapter_date) TextView date; diff --git a/app/src/main/res/drawable-hdpi/ic_more_horiz_black_24dp.png b/app/src/main/res/drawable-hdpi/ic_more_horiz_black_24dp.png new file mode 100644 index 000000000..4580c8165 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/ic_more_horiz_black_24dp.png differ diff --git a/app/src/main/res/drawable-hdpi/ic_more_horiz_black_36dp.png b/app/src/main/res/drawable-hdpi/ic_more_horiz_black_36dp.png deleted file mode 100644 index 82f5f9221..000000000 Binary files a/app/src/main/res/drawable-hdpi/ic_more_horiz_black_36dp.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/ic_more_horiz_black_24dp.png b/app/src/main/res/drawable-mdpi/ic_more_horiz_black_24dp.png new file mode 100644 index 000000000..ce4349686 Binary files /dev/null and b/app/src/main/res/drawable-mdpi/ic_more_horiz_black_24dp.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_more_horiz_black_36dp.png b/app/src/main/res/drawable-mdpi/ic_more_horiz_black_36dp.png deleted file mode 100644 index 97bd428c9..000000000 Binary files a/app/src/main/res/drawable-mdpi/ic_more_horiz_black_36dp.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_more_horiz_black_24dp.png b/app/src/main/res/drawable-xhdpi/ic_more_horiz_black_24dp.png new file mode 100644 index 000000000..f8132fbbc Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/ic_more_horiz_black_24dp.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_more_horiz_black_36dp.png b/app/src/main/res/drawable-xhdpi/ic_more_horiz_black_36dp.png deleted file mode 100644 index 091a7c62a..000000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_more_horiz_black_36dp.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_more_horiz_black_24dp.png b/app/src/main/res/drawable-xxhdpi/ic_more_horiz_black_24dp.png new file mode 100644 index 000000000..9d97e4795 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/ic_more_horiz_black_24dp.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_more_horiz_black_36dp.png b/app/src/main/res/drawable-xxhdpi/ic_more_horiz_black_36dp.png deleted file mode 100644 index d08886889..000000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_more_horiz_black_36dp.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_more_horiz_black_24dp.png b/app/src/main/res/drawable-xxxhdpi/ic_more_horiz_black_24dp.png new file mode 100644 index 000000000..7ca2db333 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/ic_more_horiz_black_24dp.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_more_horiz_black_36dp.png b/app/src/main/res/drawable-xxxhdpi/ic_more_horiz_black_36dp.png deleted file mode 100644 index 6a45c0cfc..000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_more_horiz_black_36dp.png and /dev/null differ diff --git a/app/src/main/res/layout/item_catalogue.xml b/app/src/main/res/layout/item_catalogue.xml index 6b0c9f9a7..6e34fa3b6 100644 --- a/app/src/main/res/layout/item_catalogue.xml +++ b/app/src/main/res/layout/item_catalogue.xml @@ -44,7 +44,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:ellipsize="middle" + android:ellipsize="end" android:maxLines="1" android:paddingLeft="8dp" android:paddingRight="8dp" diff --git a/app/src/main/res/layout/item_chapter.xml b/app/src/main/res/layout/item_chapter.xml index 74632faae..c325e7883 100644 --- a/app/src/main/res/layout/item_chapter.xml +++ b/app/src/main/res/layout/item_chapter.xml @@ -1,10 +1,13 @@ + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="fill_parent" + android:layout_height="?android:attr/listPreferredItemHeight" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:background="@drawable/selector_chapter_light" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" + android:paddingRight="?android:attr/listPreferredItemPaddingRight"> - - + android:layout_alignParentTop="true" + android:paddingRight="30dp"/> + + + android:layout_width="24dp" + android:layout_height="24dp" + android:src="@drawable/ic_more_horiz_black_24dp" + android:background="?android:selectableItemBackground" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="false"/>