Sourabh Rawat
09/12/2020, 5:46 PMmanueldidonna
09/12/2020, 5:49 PMSourabh Rawat
09/12/2020, 5:53 PMScaffold(
topBar = {
TopAppBar {
}
},
) {
}
lightColors(
primary = Color(0xFFFFFF),
primaryVariant = Color(0xCCCCCC),
secondary = Color.White,
secondaryVariant = Color(0xCCCCCC),
surface = Color.White,
onPrimary = Color(0x000000),
onSecondary = Color.Black,
onBackground = Color.Black,
onSurface = Color.Black,
onError = Color.Black,
error = Color.Red,
)
if I set primary
to Color(0xFFFFFF)
, then I get the extra padding.
But not for Color.White
.
I guess its because of the extra FF for in `Color.White`(=Color(0xFFFFFFFF)).
Hmm, but can't understand the exact reason for the padding thing.manueldidonna
09/12/2020, 6:07 PMColor
omitting the lightnessSourabh Rawat
09/12/2020, 6:10 PM