简体   繁体   English

带有导航抽屉片段的导航抽屉

[英]Navigation drawer with navigation drawer fragment

i am new in android development.我是 android 开发的新手。 Not able to understand navigation drawer activity.无法理解导航抽屉活动。 I am building the project in eclipse luna targeting api 19 and this activity implements NavigationDrawerFragment.我正在 eclipse luna 中构建针对 api 19 的项目,此活动实现了 NavigationDrawerFragment。

I am not able to find any link about this topic.我找不到有关此主题的任何链接。

i will recommend you to use Android Studio.我会推荐你​​使用 Android Studio。 Eclipse ADT now has no support from Google. Eclipse ADT 现在没有来自 Google 的支持。 Recently i did this.最近我这样做了。 And im satisfied我很满意

What is for about NavigationView it is now included in support library from Google. NavigationView 的用途现在包含在 Google 的支持库中。

it is rather simple to use.使用起来相当简单。 In xml use NavigationView inside DrawerLayout.在 xml 中使用 DrawerLayout 内的 NavigationView。 Java code will be less difficult. Java 代码将不那么困难。 Google is your helper for further questions ;)谷歌是你进一步问题的帮手;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM