Move digital clock a bit down
This commit is contained in:
parent
6fdf67a4de
commit
912f38c64c
@ -31,6 +31,7 @@ fun DigitalClock1(
|
|||||||
Locale.getDefault()
|
Locale.getDefault()
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
|
modifier = Modifier.offset(0.dp, if (verticalLayout) 16.dp else 0.dp),
|
||||||
text = format.format(time),
|
text = format.format(time),
|
||||||
style = MaterialTheme.typography.displayLarge.copy(
|
style = MaterialTheme.typography.displayLarge.copy(
|
||||||
fontSize = if (verticalLayout) 100.sp else 48.sp,
|
fontSize = if (verticalLayout) 100.sp else 48.sp,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user