1
i want remove this space from navigation drawer我想從抽屜式導航安卓刪除滾動模式
我想從抽屜式導航欄或無菜單
這裏是我的佈局代碼創建自定義導航抽屜的任何解決方案中刪除滾動模式。
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
tools:openDrawer="end">
<include
layout="@layout/app_bar_live"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<android.support.design.widget.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="end"
app:headerLayout="@layout/nav_header_live"
android:overScrollMode="never" />
</android.support.v4.widget.DrawerLayout>