Drawar

Android开发之学习官方文档Navigation Drawer记录

随声附和 提交于 2019-12-02 08:06:20
Creating a Navigation Drawer PreviousNext This lesson teaches you to: Create a Drawer Layout Initialize the Drawer List Handle Navigation Click Events Listen for Open and Close Events Open and Close with the App Icon The navigation drawer is a panel that displays the app’s main navigation options on the left edge of the screen. It is hidden most of the time, but is revealed when the user swipes a finger from the left edge of the screen or, while at the top level of the app, the user touches the app icon in the action bar. 导航抽屉式一个显示应用程序的主要导航选项的面板,它显示在屏幕的左边。在大部分时间内它是隐藏状态的,当用户用一直手指从屏幕的左边缘滑动时