|
18 | 18 |
|
19 | 19 | --> |
20 | 20 |
|
21 | | -<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | +<!--<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"--> |
| 22 | +<!-- xmlns:app="http://schemas.android.com/apk/res-auto"--> |
| 23 | +<!-- android:id="@+id/main_content"--> |
| 24 | +<!-- android:fitsSystemWindows="true"--> |
| 25 | +<!-- android:background="?attr/colorPrimary"--> |
| 26 | +<!-- android:layout_width="match_parent"--> |
| 27 | +<!-- android:layout_height="match_parent">--> |
| 28 | + |
| 29 | +<!-- <RelativeLayout--> |
| 30 | +<!-- android:id="@+id/rl"--> |
| 31 | +<!-- android:layout_width="match_parent"--> |
| 32 | +<!-- android:layout_height="match_parent">--> |
| 33 | + |
| 34 | +<!-- <include layout="@layout/widget_toolbar_bottom" />--> |
| 35 | + |
| 36 | +<!-- <LinearLayout--> |
| 37 | +<!-- android:layout_width="fill_parent"--> |
| 38 | +<!-- android:layout_height="fill_parent"--> |
| 39 | +<!-- android:layout_above="@id/toolbar_bottom"--> |
| 40 | +<!-- android:orientation="vertical">--> |
| 41 | + |
| 42 | +<!-- <include layout="@layout/widget_toolbar_top" />--> |
| 43 | + |
| 44 | +<!-- <ScrollView--> |
| 45 | +<!-- android:background="?attr/popupMenuBackground"--> |
| 46 | +<!-- android:layout_width="fill_parent"--> |
| 47 | +<!-- android:layout_height="fill_parent"--> |
| 48 | +<!-- android:scrollbars="none">--> |
| 49 | + |
| 50 | +<!-- <LinearLayout--> |
| 51 | +<!-- android:id="@+id/ll"--> |
| 52 | +<!-- android:layout_width="fill_parent"--> |
| 53 | +<!-- android:layout_height="wrap_content"--> |
| 54 | +<!-- android:orientation="vertical"--> |
| 55 | +<!-- android:padding="@dimen/padding_ll">--> |
| 56 | + |
| 57 | +<!-- <androidx.cardview.widget.CardView--> |
| 58 | +<!-- android:id="@+id/cv1"--> |
| 59 | +<!-- android:layout_width="match_parent"--> |
| 60 | +<!-- android:layout_height="match_parent"--> |
| 61 | +<!-- android:layout_gravity="center">--> |
| 62 | + |
| 63 | +<!-- <LinearLayout--> |
| 64 | +<!-- android:layout_width="match_parent"--> |
| 65 | +<!-- android:layout_height="match_parent"--> |
| 66 | +<!-- android:orientation="vertical">--> |
| 67 | + |
| 68 | +<!-- <EditText--> |
| 69 | +<!-- android:id="@+id/palTitle"--> |
| 70 | +<!-- android:layout_width="match_parent"--> |
| 71 | +<!-- android:layout_height="match_parent"--> |
| 72 | +<!-- android:hint="@string/name"--> |
| 73 | +<!-- android:inputType="text"--> |
| 74 | +<!-- android:textSize="18sp"--> |
| 75 | +<!-- android:importantForAutofill="no" />--> |
| 76 | + |
| 77 | +<!-- <EditText--> |
| 78 | +<!-- android:id="@+id/palContent"--> |
| 79 | +<!-- android:layout_width="match_parent"--> |
| 80 | +<!-- android:layout_height="match_parent"--> |
| 81 | +<!-- android:hint="@string/color_palette"--> |
| 82 | +<!-- android:inputType="textMultiLine"--> |
| 83 | +<!-- android:textSize="@dimen/list_item_text"--> |
| 84 | +<!-- android:importantForAutofill="no" />--> |
| 85 | + |
| 86 | +<!-- </LinearLayout>--> |
| 87 | +<!-- </androidx.cardview.widget.CardView>--> |
| 88 | + |
| 89 | +<!-- </LinearLayout>--> |
| 90 | +<!-- </ScrollView>--> |
| 91 | +<!-- </LinearLayout>--> |
| 92 | +<!-- </RelativeLayout>--> |
| 93 | + |
| 94 | +<!-- <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton--> |
| 95 | +<!-- android:id="@+id/fab"--> |
| 96 | +<!-- android:layout_width="wrap_content"--> |
| 97 | +<!-- android:layout_height="wrap_content"--> |
| 98 | +<!-- android:layout_margin="28dp"--> |
| 99 | +<!-- app:elevation="@dimen/fab_elevation"--> |
| 100 | +<!-- app:layout_anchor="@id/rl"--> |
| 101 | +<!-- app:layout_anchorGravity="bottom|center"--> |
| 102 | +<!-- app:pressedTranslationZ="@dimen/fab_elevation_pressed"--> |
| 103 | +<!-- app:srcCompat="@drawable/ic_done_24dp"--> |
| 104 | +<!-- android:contentDescription="@string/done" />--> |
| 105 | +<!--</androidx.coordinatorlayout.widget.CoordinatorLayout>--> |
| 106 | + |
| 107 | + |
| 108 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
22 | 109 | xmlns:app="http://schemas.android.com/apk/res-auto" |
23 | | - android:id="@+id/main_content" |
24 | | - android:fitsSystemWindows="true" |
25 | | - android:background="?attr/colorPrimary" |
| 110 | + android:id="@+id/rl" |
26 | 111 | android:layout_width="match_parent" |
27 | | - android:layout_height="match_parent"> |
| 112 | + android:layout_height="match_parent" |
| 113 | + android:background="?attr/colorPrimary" |
| 114 | + android:fitsSystemWindows="true"> |
28 | 115 |
|
29 | | - <RelativeLayout |
30 | | - android:id="@+id/rl" |
31 | | - android:layout_width="match_parent" |
32 | | - android:layout_height="match_parent"> |
| 116 | + <include layout="@layout/widget_toolbar_bottom" /> |
33 | 117 |
|
34 | | - <include layout="@layout/widget_toolbar_bottom" /> |
| 118 | + <LinearLayout |
| 119 | + android:layout_width="fill_parent" |
| 120 | + android:layout_height="fill_parent" |
| 121 | + android:layout_above="@id/toolbar_bottom" |
| 122 | + android:orientation="vertical"> |
35 | 123 |
|
36 | | - <LinearLayout |
37 | | - android:layout_width="fill_parent" |
38 | | - android:layout_height="fill_parent" |
39 | | - android:layout_above="@id/toolbar_bottom" |
40 | | - android:orientation="vertical"> |
| 124 | + <include layout="@layout/widget_toolbar_top" /> |
41 | 125 |
|
42 | | - <include layout="@layout/widget_toolbar_top" /> |
| 126 | + <androidx.coordinatorlayout.widget.CoordinatorLayout |
| 127 | + android:id="@+id/main_content" |
| 128 | + android:layout_width="match_parent" |
| 129 | + android:layout_height="match_parent"> |
43 | 130 |
|
44 | 131 | <ScrollView |
45 | | - android:background="?attr/popupMenuBackground" |
| 132 | + android:id="@+id/scrollView" |
46 | 133 | android:layout_width="fill_parent" |
47 | 134 | android:layout_height="fill_parent" |
| 135 | + android:background="?attr/popupMenuBackground" |
48 | 136 | android:scrollbars="none"> |
49 | 137 |
|
50 | 138 | <LinearLayout |
|
70 | 158 | android:layout_width="match_parent" |
71 | 159 | android:layout_height="match_parent" |
72 | 160 | android:hint="@string/name" |
| 161 | + android:importantForAutofill="no" |
73 | 162 | android:inputType="text" |
74 | | - android:textSize="18sp" |
75 | | - android:importantForAutofill="no" /> |
| 163 | + android:textSize="18sp" /> |
76 | 164 |
|
77 | 165 | <EditText |
78 | 166 | android:id="@+id/palContent" |
79 | 167 | android:layout_width="match_parent" |
80 | 168 | android:layout_height="match_parent" |
81 | 169 | android:hint="@string/color_palette" |
| 170 | + android:importantForAutofill="no" |
82 | 171 | android:inputType="textMultiLine" |
83 | | - android:textSize="@dimen/list_item_text" |
84 | | - android:importantForAutofill="no" /> |
| 172 | + android:textSize="@dimen/list_item_text" /> |
85 | 173 |
|
86 | 174 | </LinearLayout> |
87 | 175 | </androidx.cardview.widget.CardView> |
88 | 176 |
|
89 | 177 | </LinearLayout> |
90 | 178 | </ScrollView> |
91 | | - </LinearLayout> |
92 | | - </RelativeLayout> |
93 | | - |
94 | | - <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton |
95 | | - android:id="@+id/fab" |
96 | | - android:layout_width="wrap_content" |
97 | | - android:layout_height="wrap_content" |
98 | | - android:layout_margin="28dp" |
99 | | - app:elevation="@dimen/fab_elevation" |
100 | | - app:layout_anchor="@id/rl" |
101 | | - app:layout_anchorGravity="bottom|center" |
102 | | - app:pressedTranslationZ="@dimen/fab_elevation_pressed" |
103 | | - app:srcCompat="@drawable/ic_done_24dp" |
104 | | - android:contentDescription="@string/done" /> |
105 | | -</androidx.coordinatorlayout.widget.CoordinatorLayout> |
| 179 | + |
| 180 | + <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton |
| 181 | + android:id="@+id/fab" |
| 182 | + android:layout_width="wrap_content" |
| 183 | + android:layout_height="wrap_content" |
| 184 | + android:layout_margin="10dp" |
| 185 | + android:contentDescription="@string/done" |
| 186 | + app:elevation="@dimen/fab_elevation" |
| 187 | + app:layout_anchor="@id/scrollView" |
| 188 | + app:layout_anchorGravity="bottom|center" |
| 189 | + app:pressedTranslationZ="@dimen/fab_elevation_pressed" |
| 190 | + app:srcCompat="@drawable/ic_done_24dp" /> |
| 191 | + </androidx.coordinatorlayout.widget.CoordinatorLayout> |
| 192 | + </LinearLayout> |
| 193 | +</RelativeLayout> |
0 commit comments