滑动菜单导航与抽屉+标签+列表视图 [英] Slide Menu with Navigation Drawer + Tabs + ListViews

查看:194
本文介绍了滑动菜单导航与抽屉+标签+列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想有一个UI像谷歌Play商店,其中有一个滑动菜单+卡+列表视图。

I would like to have a UI like google play store, which has a slide menu + tabs + listviews.

我需要做,使用抽屉式导航打开菜单中的电子商务应用。菜单的项需要有不同类型的片段像片段 ListFragment 。我会试着解释更好。

I need to make an e-commerce app that opens to a menu using navigation drawer. The entries of the menu need to have different type of fragments like Fragment, ListFragment. i'll try to explain better.

假设我点击菜单中的主页菜单项,然后我需要打开一个网页(片段?)有2个选项卡(买入 - 卖出)。他们必须是列表视图 ListFragments ?一旦我选择列表中的条目,然后我得到一个详细信息页面。

Suppose i click on the "Home" menu entry of the menu then i need to open a page(Fragment?) that has 2 tabs (buy - sell). must they be ListViews or ListFragments?. once i select an entry of the list then i get a detail page.

我如何管理这一切?即时猜测,有一些imcompatability导航抽屉标签和ListView / ListFragment?

How do i manage all this? Im guessing that there is some imcompatability with navigation drawer tabs and ListView/ListFragment?

请告诉我锄头这是所有做或告诉我一个样品OT教程?谢谢

Please tell me hoes this is all done or show me a sample ot tutorial? thanks

推荐答案

您所谈到的两个标签应列表视图。和你所要求的是实施相同的布局,这是可能的,但似乎很奇怪,有两个人在同一个地方,如果你问我viewpager和导航的抽屉里。

The two tabs you are talking about should be listviews. And what you are asking for is implementing viewpager and navigation drawer in the same layout, which is possible but seems very odd to have the both of them in the same place if you ask me.

链接:

HTTP:// WWW。 java的codegeeks.com / 2013/04 / Android的教程使用最viewpager.html
http://www.androidhive.info/2013/ 11 / Android的滑动菜单使用导航抽屉/
http://developer.android.com/training/implementing-navigation/nav -drawer.html

这篇关于滑动菜单导航与抽屉+标签+列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆