美文网首页
DrawerLayout的使用

DrawerLayout的使用

作者: 布矶布矶布矶矶 | 来源:发表于2017-02-15 15:34 被阅读0次

    在Google的android,support.v4包下,有一个名为DrawerLayout的组件,类似于SlidingMenu,实现侧滑菜单功能.

    使用的时候,在主布局的根布局添加DrawerLayout,里面放入两个放入两个组件: include和NavigationView;

相关文章

网友评论

      本文标题:DrawerLayout的使用

      本文链接:https://www.haomeiwen.com/subject/ghyqwttx.html