Interested in which direction to move in order to implement the exit menu at the bottom of the screen, either by pressing the action floating button or by scrolling down like in the image
- onetowards BottomNavigarionView - pavlofff
|
2 answers
use the Bottom Sheet, here are the articles
https://habr.com/ru/post/309200/
https://medium.com/android-bits/android-bottom-sheet-30284293f066
can also see the library
https://github.com/michaelbel/BottomSheet
- Thank you A bit is not what I would like. On the expanses of the Internet, I somehow saw the implementation of this functionality, but I could not find it. - user336022
|
It is best to use the view whenever possible from Google, and if Google does not have one, then the side is either. For this there is a special view - BottomNavigationView
example:
<com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/navigation" android:layout_width="match_parent" android:layout_height="64dp" app:itemIconTint="@drawable/navigation_color_selector" app:itemTextColor="@drawable/navigation_color_selector" app:labelVisibilityMode="labeled" app:menu="@menu/navigation_menu" />
|