在SlidingMenu库和Android导航抽屉之间的区别是什么?抽屉、区别、SlidingMenu、Android

2023-09-04 11:08:30 作者:爱污及污

该SlidingMenu库是一个很好的第三方库,我已经用了很长的时间。现在我知道Android提供了利用导航抽屉一个新的导航模式。它看起来像滑动菜单。那么,有没有任何人谁已经在使用这两种两者兼而有之?有什么区别,什么是利弊?非常感谢。

The SlidingMenu library is an excellent third party library and I've already used it for a long time. Now I know Android provides a new navigation pattern using Navigation Drawer. It looks like the sliding menu. So is there anyone who already uses these two both? What is the difference and what are the pros and cons? Thanks a lot.

推荐答案

SlidingMenu 库是第三方API,它使用了RelativeLayout内。其主要优点是根据您的要求定制。买你的布局必须基于一个ViewGroup中,不幸的是这否定了<合并> 的优化

抽屉式导航可在支持库它使用DrawerLayout内。的主要优点是改进的性能。

Navigation Drawer is available in the Support Library of android it uses DrawerLayout inside. The main advantage is improved performance.