|
253 | 253 | android:layout_marginLeft="15dp" |
254 | 254 | android:layout_marginTop="5dp" |
255 | 255 | android:layout_marginRight="15dp" |
| 256 | + android:layout_marginBottom="5dp" |
256 | 257 | android:text="启用模块" |
257 | 258 | android:textColor="@color/colorTextGray" |
258 | 259 | android:textSize="15sp" /> |
259 | 260 |
|
| 261 | + <TextView |
| 262 | + android:layout_width="match_parent" |
| 263 | + android:layout_height="wrap_content" |
| 264 | + android:layout_marginLeft="15dp" |
| 265 | + android:layout_marginRight="15dp" |
| 266 | + android:layout_marginBottom="10dp" |
| 267 | + android:alpha="0.6" |
| 268 | + android:lineSpacingExtra="6dp" |
| 269 | + android:text="模块关闭后一切功能都将彻底停止工作。" |
| 270 | + android:textColor="@color/colorTextDark" |
| 271 | + android:textSize="12sp" /> |
| 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" |
| 286 | + android:layout_width="match_parent" |
| 287 | + 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" /> |
| 296 | + |
260 | 297 | <com.fankes.coloros.notify.ui.widget.MaterialSwitch |
261 | 298 | android:id="@+id/module_enable_log_switch" |
262 | 299 | android:layout_width="match_parent" |
|
284 | 321 | android:textSize="15sp" /> |
285 | 322 |
|
286 | 323 | <TextView |
| 324 | + android:id="@+id/module_enable_log_text" |
287 | 325 | android:layout_width="match_parent" |
288 | 326 | android:layout_height="wrap_content" |
289 | 327 | android:layout_marginLeft="15dp" |
290 | 328 | android:layout_marginRight="15dp" |
291 | 329 | android:layout_marginBottom="10dp" |
292 | 330 | android:alpha="0.6" |
293 | 331 | android:lineSpacingExtra="6dp" |
294 | | - android:text="模块关闭后一切功能都将彻底停止工作。" |
| 332 | + android:text="默认情况下不建议开启此选项,仅在模块故障时开启,此时你可以发送调试日志给开发者帮助我们快速定位问题。" |
295 | 333 | android:textColor="@color/colorTextDark" |
296 | 334 | android:textSize="12sp" /> |
297 | 335 | </LinearLayout> |
|
0 commit comments