What is the correct way of implementing Sliding functionality in android?? because android.widget.SlidingDrawer
class in android has been deprecated what is the alternative for this?? please help.. Thanks
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
SlidingDrawer hides content out of the screen and allows the user to drag a handle to bring the content on screen. SlidingDrawer can be used vertically or horizontally. Xml file
The size of the SlidingDrawer defines how much space the content will occupy once slid out so SlidingDrawer should usually use match_parent for both its dimensions. Inside an XML layout, SlidingDrawer must define the id of the handle and of the content:
SlidingDrawer
class was deprecated in API level 17.This class is not supported anymore. Instead of useNavigation Drawer
More infoThe
Sliding Drawer
class isdeprecated
forAPI level 17
and above. UseNavigation Drawer
instead; see the Android design help page as follows:However, you can still use
Sliding Drawer
below API level 17. See the followingSliding Drawer
example; it's a step by step implementation process, and I bet it will help you: