|
443 | 443 | android:max="255" |
444 | 444 | android:min="0" /> |
445 | 445 |
|
446 | | - <TextView |
447 | | - android:id="@+id/notify_panel_config_text" |
448 | | - android:layout_width="wrap_content" |
| 446 | + <LinearLayout |
| 447 | + android:id="@+id/notify_panel_config_text_panel" |
| 448 | + android:layout_width="match_parent" |
449 | 449 | android:layout_height="wrap_content" |
450 | | - android:ellipsize="end" |
451 | 450 | android:gravity="center" |
452 | | - android:maxWidth="100dp" |
| 451 | + android:orientation="horizontal" |
453 | 452 | android:paddingTop="5dp" |
454 | | - android:paddingBottom="15dp" |
455 | | - android:singleLine="true" |
456 | | - android:text="当前值 - %1" |
457 | | - android:textColor="@color/colorTextGray" |
458 | | - android:textSize="14sp" /> |
| 453 | + android:paddingBottom="15dp"> |
| 454 | + |
| 455 | + <TextView |
| 456 | + android:layout_width="wrap_content" |
| 457 | + android:layout_height="wrap_content" |
| 458 | + android:layout_marginEnd="5dp" |
| 459 | + android:alpha="0.75" |
| 460 | + android:ellipsize="end" |
| 461 | + android:gravity="center" |
| 462 | + android:maxWidth="100dp" |
| 463 | + android:singleLine="true" |
| 464 | + android:text="当前值" |
| 465 | + android:textColor="@color/colorTextGray" |
| 466 | + android:textSize="13.5sp" /> |
| 467 | + |
| 468 | + <TextView |
| 469 | + android:id="@+id/notify_panel_config_text" |
| 470 | + android:layout_width="wrap_content" |
| 471 | + android:layout_height="wrap_content" |
| 472 | + android:ellipsize="end" |
| 473 | + android:gravity="center" |
| 474 | + android:maxWidth="100dp" |
| 475 | + android:singleLine="true" |
| 476 | + android:text="%1" |
| 477 | + android:textColor="@color/colorTextGray" |
| 478 | + android:textSize="15sp" |
| 479 | + android:textStyle="bold" /> |
| 480 | + </LinearLayout> |
459 | 481 |
|
460 | 482 | <TextView |
461 | 483 | android:layout_width="match_parent" |
|
468 | 490 | android:text="开启自定义功能后,你可以拖拽滑动条来调整通知面板的透明度,0 为全透明,255 为不透明。" |
469 | 491 | android:textColor="@color/colorTextDark" |
470 | 492 | android:textSize="12sp" /> |
| 493 | + |
| 494 | + <TextView |
| 495 | + android:layout_width="match_parent" |
| 496 | + android:layout_height="wrap_content" |
| 497 | + android:layout_marginBottom="10dp" |
| 498 | + android:alpha="0.6" |
| 499 | + android:lineSpacingExtra="6dp" |
| 500 | + android:paddingLeft="15dp" |
| 501 | + android:paddingRight="15dp" |
| 502 | + android:text="此功能为实验性功能,后期不一定继续维护,且仅在 ColorOS 12~12.1 测试正常,不能保证可以和各种通知栏主题模块配合使用,如有冲突请关闭此功能或禁用相关重复功能的主题模块。" |
| 503 | + android:textColor="@color/colorTextDark" |
| 504 | + android:textSize="12sp" /> |
471 | 505 | </LinearLayout> |
472 | 506 |
|
473 | 507 | <LinearLayout |
|
0 commit comments