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:
parent
eee0bc4985
commit
9bb3195bca
@ -6,12 +6,13 @@
|
|||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<android.support.v7.widget.RecyclerView
|
<android.support.v7.widget.RecyclerView
|
||||||
|
android:id="@+id/recycler"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/recycler"
|
|
||||||
android:choiceMode="multipleChoice"
|
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.support.design.widget.FloatingActionButton
|
||||||
android:id="@+id/fab"
|
android:id="@+id/fab"
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginLeft="16dp"
|
android:layout_marginLeft="16dp"
|
||||||
android:layout_marginRight="16dp"
|
android:layout_marginRight="16dp"
|
||||||
|
android:paddingBottom="@dimen/fab_list_padding"
|
||||||
|
android:clipToPadding="false"
|
||||||
android:descendantFocusability="blocksDescendants"
|
android:descendantFocusability="blocksDescendants"
|
||||||
tools:listitem="@layout/chapters_item">
|
tools:listitem="@layout/chapters_item">
|
||||||
|
|
||||||
|
@ -6,9 +6,11 @@
|
|||||||
<dimen name="margin_bottom">16dp</dimen>
|
<dimen name="margin_bottom">16dp</dimen>
|
||||||
<dimen name="margin_left">16dp</dimen>
|
<dimen name="margin_left">16dp</dimen>
|
||||||
<dimen name="margin_right">16dp</dimen>
|
<dimen name="margin_right">16dp</dimen>
|
||||||
<dimen name="fab_margin">16dp</dimen>
|
|
||||||
<dimen name="space_between_cards">4dp</dimen>
|
<dimen name="space_between_cards">4dp</dimen>
|
||||||
|
|
||||||
<dimen name="fab_size">56dp</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_content_padding">24dp</dimen>
|
||||||
<dimen name="dialog_margin_top_content">20dp</dimen>
|
<dimen name="dialog_margin_top_content">20dp</dimen>
|
||||||
|
@ -145,7 +145,6 @@
|
|||||||
<item name="android:scaleType">fitCenter</item>
|
<item name="android:scaleType">fitCenter</item>
|
||||||
<item name="layout_anchorGravity">bottom|right|end</item>
|
<item name="layout_anchorGravity">bottom|right|end</item>
|
||||||
<item name="android:tint">@color/md_white_1000</item>
|
<item name="android:tint">@color/md_white_1000</item>
|
||||||
<item name="layout_behavior">eu.kanade.tachiyomi.widget.FABAnimationUpDown</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.Widget.CardView" parent="CardView">
|
<style name="Theme.Widget.CardView" parent="CardView">
|
||||||
|
Loading…
Reference in New Issue
Block a user