滑动抽屉手柄的位置?
我想要两个重叠的滑动抽屉(跨越整个应用程序窗口),其手柄并排,以便用户可以轻松打开两个抽屉。 然而,手柄似乎总是水平居中放置(对于垂直的 SlidingDrawer),因此手柄会发生碰撞。我为父级尝试了 FrameLayout 和relativelayout,但是像 android:layout_alignRight 这样的布局选项似乎被句柄忽略了。
I would like to have two overlapping SlidingDrawers (spanning the whole application window) with their handles side by side so that the user can open both drawers easily.
However, it seems that the handle is always positioned horizontally centered (for a vertical SlidingDrawer) so that the handles collide. I tried both FrameLayout and RelativeLayout for the parent, but layout options like android:layout_alignRight seem to be ignored for the handles.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这似乎不可能。我决定不使用 SlidingDrawers 而是使用“普通”按钮来打开其他视图。
This seems not to be possible. I decided not to use SlidingDrawers but "normal" buttons which will open the additional views.