双排时钟最大大小提升至9

This commit is contained in:
乌堆小透明
2022-03-20 14:09:08 +08:00
parent 406b1a740b
commit 7c8f061c30
2 changed files with 2 additions and 1 deletions

View File

@@ -719,7 +719,7 @@ class SettingsActivity : MIUIActivity() {
)
add(
SeekBarWithTextV(
"status_bar_clock_double_line_size", 0, 8, 0,
"status_bar_clock_double_line_size", 0, 9, 0,
dataBindingRecv = custom_clock_binding.binding.getRecv(2)
)
)

View File

@@ -51,6 +51,7 @@ class StatusBarTimeCustomization : IXposedHookLoadPackage {
clock_double_line_size = getClockDoubleSize.toFloat()
}
textV.setTextSize(TypedValue.COMPLEX_UNIT_DIP, clock_double_line_size)
textV.setLineSpacing(0F,0.8F)
} else {
if (getClockSize != 0) {
val clock_size = getClockSize.toFloat()