与Android的子菜单左侧的菜单 [英] Android left menu with submenu
问题描述
我开发一个Android应用程序。
I am developing an android application.
我要拍一个主菜单,所以我跟着这个教程:
的http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
I wanted to make a "main" menu, so I followed this tutorial : http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/
我的主菜单完成,但,我想加子:当我在主菜单的元素挖掘,我想一个子菜单出现。
My "main" menu is done but, i want to add "submenu" : when I tap on an element of the main menu, I want a submenu to appear.
我怎样才能让这些子?
推荐答案
此下载示例的页面这是你在找什么,可扩展列表视图。
也有来自同一个站点,你跟随另一个教程
http://www.androidhive.info/2013/07/ Android的可扩展列表 - 视图 - 教程/
Download sample from this page which is what you are looking for, expandable listview. There is also another tutorial from same site you are following http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/
希望这会有所帮助。
这篇关于与Android的子菜单左侧的菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!