[英]Navigation Drawer and Bottom Bar
我已经实现了一个导航抽屉和一个底部导航栏。
我的问题是导航抽屉的高度与内容框的高度一样。 因此,当打开导航抽屉时,底部导航栏将被部分隐藏,就像主布局的内容一样。
我尝试了以下方法来克服此问题:
但是这样抽屉不知道高度的变化。
这是我要完成的工作:
让我们的布局是这样的:
<RelativeLayout>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- The main content view -->
<!-- The navigation drawer -->
</android.support.v4.widget.DrawerLayout>
<!-- Your bottom bar --!>
</RelativeLayout>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.