Better implementation for insets and bottom padding
This commit is contained in:
parent
97e37dd7b9
commit
45a3899a0d
29 changed files with 470 additions and 320 deletions
|
@ -29,21 +29,20 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include android:id="@+id/suggestions" layout="@layout/item_suggestions" />
|
||||
<include
|
||||
android:id="@+id/suggestions"
|
||||
layout="@layout/item_suggestions" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
<code.name.monkey.retromusic.views.insets.InsetsRecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:nestedScrollingEnabled="false"
|
||||
android:overScrollMode="@integer/overScrollMode"
|
||||
android:paddingBottom="@dimen/mini_player_height"
|
||||
tools:itemCount="10"
|
||||
tools:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
||||
tools:listitem="@layout/item_album_card"
|
||||
tools:spanCount="3" />
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/mini_player_height_expanded" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
Loading…
Add table
Add a link
Reference in a new issue