[英]How to set the Navigation Drawer below the toolbar in Android?
How can I put my ListView
below the toolbar? 如何将
ListView
放在工具栏下方?
Here is what I have now: 这是我现在所拥有的:
What I want to achieve is something like this: 我想要实现的是这样的:
I can't tell for sure if I don't see your xml file. 我不确定我是否看不到您的xml文件。 But try adding this to the layout you are using as a drawer.
但是,请尝试将其添加到用作抽屉的布局中。
android:layout_marginTop="@dimen/abc_action_bar_default_height_material"
Hope it helps. 希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.