|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<androidx.drawerlayout.widget.DrawerLayout |
| 2 | +<FrameLayout |
3 | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
4 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
5 | | - xmlns:tools="http://schemas.android.com/tools" |
6 | | - android:id="@+id/drawer_layout" |
7 | 4 | android:layout_width="match_parent" |
8 | | - android:layout_height="match_parent" |
9 | | - android:fitsSystemWindows="false" |
10 | | - tools:openDrawer="start"> |
| 5 | + android:layout_height="match_parent"> |
11 | 6 |
|
12 | | - <!-- 1. Nội dung chính của màn hình --> |
13 | | - <include |
14 | | - layout="@layout/app_bar_main" |
15 | | - android:layout_width="match_parent" |
16 | | - android:layout_height="match_parent" /> |
17 | | - |
18 | | - <!-- 2. Menu Drawer mờ (Khuyên dùng chiều rộng cố định khoảng 300dp - 320dp) --> |
| 7 | + <!-- Nội dung chính có nền Blur --> |
19 | 8 | <com.omarea.common.ui.BlurViewLinearLayout |
20 | 9 | android:id="@+id/file_drawer_container" |
21 | | - android:layout_width="300dp" |
| 10 | + android:layout_width="match_parent" |
22 | 11 | android:layout_height="match_parent" |
23 | | - android:layout_gravity="start" |
24 | 12 | android:orientation="vertical"> |
25 | | - |
| 13 | + |
| 14 | + <include layout="@layout/app_bar_main" /> |
| 15 | + |
26 | 16 | <ListView |
27 | 17 | android:id="@+id/file_selector_list" |
28 | 18 | android:layout_width="match_parent" |
29 | 19 | android:layout_height="match_parent" |
30 | | - android:layout_marginTop="?attr/actionBarSize" |
31 | 20 | android:fastScrollEnabled="true" |
32 | | - android:fadingEdge="vertical" |
33 | | - android:requiresFadingEdge="vertical" |
34 | | - android:scrollbarStyle="insideOverlay" |
35 | 21 | android:smoothScrollbar="true" /> |
36 | | - |
37 | | - </com.omarea.common.ui.BlurViewLinearLayout> |
38 | 22 |
|
39 | | -</androidx.drawerlayout.widget.DrawerLayout> |
| 23 | + </com.omarea.common.ui.BlurViewLinearLayout> |
| 24 | +</FrameLayout> |
0 commit comments