1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <layout xmlns : android =" http://schemas.android.com/apk/res/android"
3+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4+ xmlns : tools =" http://schemas.android.com/tools" >
5+
6+ <androidx .coordinatorlayout.widget.CoordinatorLayout
7+ android : id =" @+id/coordinator_layout"
8+ android : layout_width =" match_parent"
9+ android : layout_height =" match_parent"
10+ android : background =" @color/white"
11+ android : keepScreenOn =" true" >
12+
13+ <com .google.android.material.appbar.AppBarLayout
14+ android : id =" @+id/appbar_layout"
15+ android : layout_width =" match_parent"
16+ android : layout_height =" wrap_content"
17+ android : background =" @color/white"
18+ app : elevation =" 0dp" >
19+
20+ <androidx .appcompat.widget.Toolbar
21+ android : id =" @+id/tool_bar"
22+ android : layout_width =" match_parent"
23+ android : layout_height =" wrap_content"
24+ app : titleTextColor =" @color/black_1"
25+ app : title =" @string/folder_select_title"
26+ app : menu =" @menu/folder_select_menu" />
27+
28+ </com .google.android.material.appbar.AppBarLayout>
29+
30+ <androidx .constraintlayout.widget.ConstraintLayout
31+ android : layout_width =" match_parent"
32+ android : layout_height =" match_parent"
33+ app : layout_behavior =" com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" >
34+
35+ <TextView
36+ android : id =" @+id/path_tv"
37+ android : layout_width =" 0dp"
38+ android : layout_height =" wrap_content"
39+ android : layout_gravity =" center_vertical"
40+ android : layout_marginStart =" 15dp"
41+ android : layout_marginEnd =" 15dp"
42+ android : layout_weight =" 1"
43+ android : ellipsize =" start"
44+ android : singleLine =" true"
45+ android : textColor =" @color/black_1"
46+ android : textSize =" 16sp"
47+ app : layout_constraintStart_toStartOf =" parent"
48+ app : layout_constraintEnd_toEndOf =" parent"
49+ app : layout_constraintTop_toTopOf =" parent"
50+ tools : text =" /a/b/c" />
51+
52+ <androidx .recyclerview.widget.RecyclerView
53+ android : id =" @+id/folder_rv"
54+ android : layout_width =" 0dp"
55+ android : layout_height =" 0dp"
56+ android : clipToPadding =" false"
57+ android : paddingBottom =" 85dp"
58+ android : paddingTop =" 5dp"
59+ app : layout_constraintStart_toStartOf =" parent"
60+ app : layout_constraintEnd_toEndOf =" parent"
61+ app : layout_constraintTop_toBottomOf =" @id/path_tv"
62+ app : layout_constraintBottom_toBottomOf =" parent"
63+ tools : listitem =" @layout/folder_item_layout" />
64+
65+ </androidx .constraintlayout.widget.ConstraintLayout>
66+
67+ <com .google.android.material.floatingactionbutton.FloatingActionButton
68+ android : id =" @+id/done_action_bt"
69+ android : layout_width =" wrap_content"
70+ android : layout_height =" wrap_content"
71+ android : src =" @drawable/ic_done"
72+ android : layout_marginEnd =" 16dp"
73+ android : layout_marginBottom =" 16dp"
74+ android : layout_gravity =" end|bottom"
75+ app : layout_constraintEnd_toEndOf =" parent"
76+ app : layout_constraintBottom_toBottomOf =" parent"
77+ app : layout_dodgeInsetEdges =" bottom"
78+ android : contentDescription =" @string/app_name" />
79+
80+ </androidx .coordinatorlayout.widget.CoordinatorLayout>
81+ </layout >
0 commit comments