Remove up/down animation for FAB, add list padding (#2456) e411f542 arkon <arkon@users.noreply.github.com> Jan 8, 2020 at 21:33

This commit is contained in:
arkon 2020-01-08 21:33:10 -05:00 committed by arkon
parent eee0bc4985
commit 9bb3195bca
4 changed files with 10 additions and 6 deletions

View File

@ -6,12 +6,13 @@
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/recycler"
android:choiceMode="multipleChoice"
tools:listitem="@layout/categories_item"
/>
android:paddingBottom="@dimen/fab_list_padding"
android:clipToPadding="false"
tools:listitem="@layout/categories_item" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
@ -26,4 +27,4 @@
android:layout_gravity="center"
android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>

View File

@ -28,6 +28,8 @@
android:layout_height="match_parent"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:paddingBottom="@dimen/fab_list_padding"
android:clipToPadding="false"
android:descendantFocusability="blocksDescendants"
tools:listitem="@layout/chapters_item">

View File

@ -6,9 +6,11 @@
<dimen name="margin_bottom">16dp</dimen>
<dimen name="margin_left">16dp</dimen>
<dimen name="margin_right">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="space_between_cards">4dp</dimen>
<dimen name="fab_size">56dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="fab_list_padding">88dp</dimen>
<dimen name="dialog_content_padding">24dp</dimen>
<dimen name="dialog_margin_top_content">20dp</dimen>

View File

@ -145,7 +145,6 @@
<item name="android:scaleType">fitCenter</item>
<item name="layout_anchorGravity">bottom|right|end</item>
<item name="android:tint">@color/md_white_1000</item>
<item name="layout_behavior">eu.kanade.tachiyomi.widget.FABAnimationUpDown</item>
</style>
<style name="Theme.Widget.CardView" parent="CardView">