是否可以将View
置于整个DrawerLayout
之上?那么即使它们是开放的,视图仍然在抽屉之上?
答案 0 :(得分:4)
是否可以将
View
置于整个DrawerLayout
之上?
是。请考虑以下布局:
<FrameLayout>
<DrawerLayout>
<FrameLayout>
<!-- the content comes here -->
</FrameLayout>
<!-- one or two drawer views comes here - displayed over content-->
</DrawerLayout>
<!-- any views that are here will be painted even over the drawers -->
</FrameLayout>