简体   繁体   English

导航抽屉和多窗格布局

[英]Navigation Drawer and Multipane layout

I want to develop an application which it's going to be used on tablet, but I want to develop it for mobile phones too. 我想开发一个将在平板电脑上使用的应用程序,但是我也想为手机开发它。 I've looking for information, and I think that I have to do it with to different layouts, one for small screens based on Navigation Drawer and another for large screens based on Multipane layout, but I don't know how I should do this, can anybody help me? 我正在寻找信息,我认为我必须针对不同的布局进行处理,一种用于基于导航抽屉的小屏幕,另一种用于基于多窗格布局的大屏幕,但是我不知道该怎么做, 有谁能够帮助我? Anybody knows a good tutorial? 有人知道好的教程吗?

Thanks in advance. 提前致谢。

Read Supporting Tablets and Handsets and Supporting Multiple Screens . 阅读支持平板电脑和手机以及支持多个屏幕的内容 Basically, you need layout folders with smallest-width qualifiers. 基本上,您需要具有最小宽度限定符的布局文件夹。

Check out the following Tutorial, this is a navigation drawer which can be used on both mobile and tablet devices. 请查看以下教程,这是一个可在移动设备和平板电脑设备上使用的导航抽屉。

http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/ http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/

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

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