|
270 | 270 | android:textColor="@color/colorTextDark" |
271 | 271 | android:textSize="12sp" /> |
272 | 272 |
|
273 | | - <com.fankes.coloros.notify.ui.widget.MaterialSwitch |
274 | | - android:id="@+id/module_prefs_cache_enable_switch" |
275 | | - android:layout_width="match_parent" |
276 | | - android:layout_height="30dp" |
277 | | - android:layout_marginLeft="15dp" |
278 | | - android:layout_marginRight="15dp" |
279 | | - android:layout_marginBottom="10dp" |
280 | | - android:text="启用数据缓存" |
281 | | - android:textColor="@color/colorTextGray" |
282 | | - android:textSize="15sp" /> |
283 | | - |
284 | | - <TextView |
285 | | - android:id="@+id/module_prefs_cache_enable_text" |
| 273 | + <LinearLayout |
| 274 | + android:id="@+id/module_enable_log_item" |
286 | 275 | android:layout_width="match_parent" |
287 | 276 | android:layout_height="wrap_content" |
288 | | - android:layout_marginLeft="15dp" |
289 | | - android:layout_marginRight="15dp" |
290 | | - android:layout_marginBottom="5dp" |
291 | | - android:alpha="0.6" |
292 | | - android:lineSpacingExtra="6dp" |
293 | | - android:text="此选项默认开启,默认情况下模块会将数据缓存在内存中,防止每次重复读取数据造成卡顿,如果开启此选项后一段时间导致系统界面 (系统 UI) 崩溃 (内存溢出),你可以尝试关闭此选项,但是这有可能会造成在通知较多时下拉通知栏出现卡顿。" |
294 | | - android:textColor="@color/colorTextDark" |
295 | | - android:textSize="12sp" /> |
| 277 | + android:layout_marginBottom="10dp" |
| 278 | + android:orientation="vertical"> |
296 | 279 |
|
297 | | - <com.fankes.coloros.notify.ui.widget.MaterialSwitch |
298 | | - android:id="@+id/module_enable_log_switch" |
299 | | - android:layout_width="match_parent" |
300 | | - android:layout_height="35dp" |
301 | | - android:layout_marginLeft="15dp" |
302 | | - android:layout_marginRight="15dp" |
303 | | - android:layout_marginBottom="5dp" |
304 | | - android:text="启用调试日志" |
305 | | - android:textColor="@color/colorTextGray" |
306 | | - android:textSize="15sp" /> |
| 280 | + <com.fankes.coloros.notify.ui.widget.MaterialSwitch |
| 281 | + android:id="@+id/module_enable_log_switch" |
| 282 | + android:layout_width="match_parent" |
| 283 | + android:layout_height="30dp" |
| 284 | + android:layout_marginLeft="15dp" |
| 285 | + android:layout_marginRight="15dp" |
| 286 | + android:layout_marginBottom="10dp" |
| 287 | + android:text="启用调试日志" |
| 288 | + android:textColor="@color/colorTextGray" |
| 289 | + android:textSize="15sp" /> |
307 | 290 |
|
308 | | - <TextView |
309 | | - android:id="@+id/exp_all_debug_log_button" |
310 | | - android:layout_width="match_parent" |
311 | | - android:layout_height="wrap_content" |
312 | | - android:layout_marginLeft="13dp" |
313 | | - android:layout_marginRight="13dp" |
314 | | - android:layout_marginBottom="10dp" |
315 | | - android:background="@drawable/bg_button_round" |
316 | | - android:gravity="center" |
317 | | - android:padding="10dp" |
318 | | - android:singleLine="true" |
319 | | - android:text="导出全部调试日志" |
320 | | - android:textColor="@color/colorTextGray" |
321 | | - android:textSize="15sp" /> |
| 291 | + <TextView |
| 292 | + android:id="@+id/exp_all_debug_log_button" |
| 293 | + android:layout_width="match_parent" |
| 294 | + android:layout_height="wrap_content" |
| 295 | + android:layout_marginLeft="13dp" |
| 296 | + android:layout_marginRight="13dp" |
| 297 | + android:layout_marginBottom="10dp" |
| 298 | + android:background="@drawable/bg_button_round" |
| 299 | + android:gravity="center" |
| 300 | + android:padding="10dp" |
| 301 | + android:singleLine="true" |
| 302 | + android:text="导出全部调试日志" |
| 303 | + android:textColor="@color/colorTextGray" |
| 304 | + android:textSize="15sp" /> |
322 | 305 |
|
323 | | - <TextView |
324 | | - android:id="@+id/module_enable_log_text" |
325 | | - android:layout_width="match_parent" |
326 | | - android:layout_height="wrap_content" |
327 | | - android:layout_marginLeft="15dp" |
328 | | - android:layout_marginRight="15dp" |
329 | | - android:layout_marginBottom="10dp" |
330 | | - android:alpha="0.6" |
331 | | - android:lineSpacingExtra="6dp" |
332 | | - android:text="默认情况下不建议开启此选项,仅在模块故障时开启,此时你可以发送调试日志给开发者帮助我们快速定位问题。" |
333 | | - android:textColor="@color/colorTextDark" |
334 | | - android:textSize="12sp" /> |
| 306 | + <TextView |
| 307 | + android:layout_width="match_parent" |
| 308 | + android:layout_height="wrap_content" |
| 309 | + android:layout_marginLeft="15dp" |
| 310 | + android:layout_marginRight="15dp" |
| 311 | + android:alpha="0.6" |
| 312 | + android:lineSpacingExtra="6dp" |
| 313 | + android:text="默认情况下不建议开启此选项,仅在模块故障时开启,此时你可以发送调试日志给开发者帮助我们快速定位问题。" |
| 314 | + android:textColor="@color/colorTextDark" |
| 315 | + android:textSize="12sp" /> |
| 316 | + </LinearLayout> |
335 | 317 | </LinearLayout> |
336 | 318 |
|
337 | 319 | <LinearLayout |
|
0 commit comments