mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 19:31:17 +08:00
双排时钟最大大小提升至9
This commit is contained in:
@@ -719,7 +719,7 @@ class SettingsActivity : MIUIActivity() {
|
|||||||
)
|
)
|
||||||
add(
|
add(
|
||||||
SeekBarWithTextV(
|
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)
|
dataBindingRecv = custom_clock_binding.binding.getRecv(2)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ class StatusBarTimeCustomization : IXposedHookLoadPackage {
|
|||||||
clock_double_line_size = getClockDoubleSize.toFloat()
|
clock_double_line_size = getClockDoubleSize.toFloat()
|
||||||
}
|
}
|
||||||
textV.setTextSize(TypedValue.COMPLEX_UNIT_DIP, clock_double_line_size)
|
textV.setTextSize(TypedValue.COMPLEX_UNIT_DIP, clock_double_line_size)
|
||||||
|
textV.setLineSpacing(0F,0.8F)
|
||||||
} else {
|
} else {
|
||||||
if (getClockSize != 0) {
|
if (getClockSize != 0) {
|
||||||
val clock_size = getClockSize.toFloat()
|
val clock_size = getClockSize.toFloat()
|
||||||
|
|||||||
Reference in New Issue
Block a user