|
93 | 93 |
|
94 | 94 | </LinearLayout>
|
95 | 95 |
|
96 |
| - <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
| 96 | + <LinearLayout |
97 | 97 | android:layout_height="match_parent"
|
98 | 98 | android:layout_width="match_parent"
|
99 |
| - android:id="@+id/swipeRefreshLayout"> |
| 99 | + android:orientation="horizontal" |
| 100 | + android:layout_marginTop="8dp"> |
| 101 | + |
| 102 | + <com.google.android.material.navigationrail.NavigationRailView |
| 103 | + android:layout_height="match_parent" |
| 104 | + android:layout_width="wrap_content" |
| 105 | + android:id="@+id/navRailView" |
| 106 | + app:menu="@menu/main_project_type" |
| 107 | + android:padding="14dp" |
| 108 | + android:layout_marginBottom="16dp"/> |
100 | 109 |
|
101 |
| - <ViewSwitcher |
| 110 | + <androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
102 | 111 | android:layout_height="match_parent"
|
103 | 112 | android:layout_width="match_parent"
|
104 |
| - android:id="@+id/viewSwitcher"> |
| 113 | + android:id="@+id/swipeRefreshLayout"> |
105 | 114 |
|
106 |
| - <LinearLayout |
| 115 | + <ViewSwitcher |
107 | 116 | android:layout_height="match_parent"
|
108 | 117 | android:layout_width="match_parent"
|
109 |
| - android:gravity="center" |
110 |
| - android:padding="8dp" |
111 |
| - android:orientation="vertical"> |
| 118 | + android:id="@+id/viewSwitcher"> |
112 | 119 |
|
113 | 120 | <LinearLayout
|
114 |
| - android:layout_height="wrap_content" |
115 |
| - android:layout_width="wrap_content" |
| 121 | + android:layout_height="match_parent" |
| 122 | + android:layout_width="match_parent" |
116 | 123 | android:gravity="center"
|
| 124 | + android:padding="8dp" |
117 | 125 | android:orientation="vertical">
|
118 | 126 |
|
119 |
| - <TextView |
120 |
| - android:layout_height="wrap_content" |
121 |
| - android:layout_width="250dp" |
122 |
| - android:gravity="center" |
123 |
| - android:alpha="0.43" |
124 |
| - android:textSize="10dp" |
125 |
| - android:typeface="serif" |
126 |
| - android:text="@string/swipe_refresh_data_or_create_new_project"/> |
127 |
| - |
128 | 127 | <LinearLayout
|
129 | 128 | android:layout_height="wrap_content"
|
130 | 129 | android:layout_width="wrap_content"
|
131 | 130 | android:gravity="center"
|
132 |
| - android:orientation="horizontal"> |
| 131 | + android:orientation="vertical"> |
133 | 132 |
|
134 | 133 | <TextView
|
135 | 134 | android:layout_height="wrap_content"
|
136 |
| - android:layout_width="wrap_content" |
| 135 | + android:layout_width="250dp" |
| 136 | + android:gravity="center" |
| 137 | + android:alpha="0.43" |
137 | 138 | android:textSize="10dp"
|
138 |
| - android:textColor="?colorTertiary" |
139 | 139 | android:typeface="serif"
|
140 |
| - android:text="Storage Access Status : "/> |
| 140 | + android:text="@string/swipe_refresh_data_or_create_new_project"/> |
141 | 141 |
|
142 |
| - <TextView |
| 142 | + <LinearLayout |
143 | 143 | android:layout_height="wrap_content"
|
144 | 144 | android:layout_width="wrap_content"
|
145 |
| - android:textSize="10dp" |
146 |
| - android:textColor="?colorPrimary" |
147 |
| - android:typeface="serif" |
148 |
| - android:textStyle="bold" |
149 |
| - android:id="@+id/tvStatusPermission" |
150 |
| - android:text="Loading ..."/> |
| 145 | + android:gravity="center" |
| 146 | + android:orientation="horizontal"> |
| 147 | + |
| 148 | + <TextView |
| 149 | + android:layout_height="wrap_content" |
| 150 | + android:layout_width="wrap_content" |
| 151 | + android:textSize="10dp" |
| 152 | + android:textColor="?colorTertiary" |
| 153 | + android:typeface="serif" |
| 154 | + android:text="Storage Access Status : "/> |
| 155 | + |
| 156 | + <TextView |
| 157 | + android:layout_height="wrap_content" |
| 158 | + android:layout_width="wrap_content" |
| 159 | + android:textSize="10dp" |
| 160 | + android:textColor="?colorPrimary" |
| 161 | + android:typeface="serif" |
| 162 | + android:textStyle="bold" |
| 163 | + android:id="@+id/tvStatusPermission" |
| 164 | + android:text="Loading ..."/> |
| 165 | + |
| 166 | + </LinearLayout> |
151 | 167 |
|
152 | 168 | </LinearLayout>
|
153 | 169 |
|
154 | 170 | </LinearLayout>
|
155 | 171 |
|
156 |
| - </LinearLayout> |
| 172 | + <RelativeLayout |
| 173 | + android:layout_height="match_parent" |
| 174 | + android:layout_width="match_parent" |
| 175 | + android:gravity="center_horizontal" |
| 176 | + android:padding="4dp"> |
157 | 177 |
|
158 |
| - <RelativeLayout |
159 |
| - android:layout_height="match_parent" |
160 |
| - android:layout_width="match_parent" |
161 |
| - android:gravity="center_horizontal" |
162 |
| - android:padding="4dp"> |
| 178 | + <androidx.core.widget.NestedScrollView |
| 179 | + android:layout_height="match_parent" |
| 180 | + android:layout_width="match_parent"> |
163 | 181 |
|
164 |
| - <androidx.core.widget.NestedScrollView |
165 |
| - android:layout_height="match_parent" |
166 |
| - android:layout_width="match_parent"> |
| 182 | + <GridLayout |
| 183 | + android:layout_height="wrap_content" |
| 184 | + android:layout_width="match_parent" |
| 185 | + android:scrollbars="vertical" |
| 186 | + android:layout_marginBottom="143dp" |
| 187 | + android:horizontalSpacing="8dp" |
| 188 | + android:layout_marginLeft="76dp" |
| 189 | + android:layout_marginRight="76dp" |
| 190 | + android:layout_marginTop="15dp" |
| 191 | + android:verticalSpacing="8dp" |
| 192 | + android:columnCount="2" |
| 193 | + android:id="@+id/gridLayoutListProjects"/> |
| 194 | + |
| 195 | + </androidx.core.widget.NestedScrollView> |
| 196 | + |
| 197 | + <View |
| 198 | + android:layout_height="20dp" |
| 199 | + android:layout_width="match_parent" |
| 200 | + android:id="@+id/viewGradientTop"/> |
167 | 201 |
|
168 |
| - <GridLayout |
169 |
| - android:layout_height="wrap_content" |
| 202 | + <View |
| 203 | + android:layout_height="76dp" |
170 | 204 | android:layout_width="match_parent"
|
171 |
| - android:scrollbars="vertical" |
172 |
| - android:layout_marginBottom="143dp" |
173 |
| - android:horizontalSpacing="8dp" |
174 |
| - android:layout_marginLeft="76dp" |
175 |
| - android:layout_marginRight="76dp" |
176 |
| - android:layout_marginTop="15dp" |
177 |
| - android:verticalSpacing="8dp" |
178 |
| - android:columnCount="2" |
179 |
| - android:id="@+id/gridLayoutListProjects"/> |
180 |
| - |
181 |
| - </androidx.core.widget.NestedScrollView> |
182 |
| - |
183 |
| - <View |
184 |
| - android:layout_height="20dp" |
185 |
| - android:layout_width="match_parent" |
186 |
| - android:id="@+id/viewGradientTop"/> |
| 205 | + android:layout_alignParentBottom="true" |
| 206 | + android:id="@+id/viewGradientBottom"/> |
187 | 207 |
|
188 |
| - <View |
189 |
| - android:layout_height="76dp" |
190 |
| - android:layout_width="match_parent" |
191 |
| - android:layout_alignParentBottom="true" |
192 |
| - android:id="@+id/viewGradientBottom"/> |
| 208 | + </RelativeLayout> |
193 | 209 |
|
194 |
| - </RelativeLayout> |
| 210 | + </ViewSwitcher> |
195 | 211 |
|
196 |
| - </ViewSwitcher> |
| 212 | + </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
197 | 213 |
|
198 |
| - </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
| 214 | + </LinearLayout> |
199 | 215 |
|
200 | 216 | </LinearLayout>
|
201 | 217 |
|
|
0 commit comments