如何使一个侧边栏菜单侧边、菜单

2023-09-05 00:25:28 作者:归期未有期

我在寻找一种方式来制定一个菜单,可能是通过对当前屏幕的左边滑动可见。一个例子是火狐的手机版本,当你在左边滑动,就可以访问到当前的标签导航,但主要页面仍然可见。这就是所谓的一个工具,我认为:

I'm looking for a way to develop a menu which could be visible by sliding on the left of the current screen. One example is the mobile version of Firefox, when you slide on the left, you can access to the current tabs navigation, but the main page is still visible. It is called a sidebar I think :

一种可能的方式做到这一点是使用ViewFlipper,我想,但也许有更简单,更高效的可能性?而且我怕处理水平和垂直滚动可能是一个有点困难......

One possible way to do that is to use ViewFlipper, I guess, but maybe is there an easier and more efficient possibility ? And I'm afraid that handling scrolling horizontally and vertically could be a bit difficult...

感谢您的任何答案,

Maxetx。

推荐答案

这也许会给你一个想法

例1

例2