B Chandrasaimohan
02/10/2023, 12:19 PMChrimaeon
02/10/2023, 12:47 PMDave Scheck
02/10/2023, 2:34 PMImage(
painter = painterResource(id = R.drawable.cgux_ic_keyboard_16),
modifier = Modifier
.padding(25.dp)
.width(36.dp)
.height(36.dp)
.border(BorderStroke(1.dp, colorResource(id = R.color.cgux_primary_500_base)))
.padding(5.dp)
.clickable {},
contentDescription = "Expandable Image",
colorFilter = ColorFilter.tint( colorResource(id = R.color.cgux_primary_500_base))
)
Chrimaeon
02/10/2023, 2:36 PMDave Scheck
02/10/2023, 2:37 PM.padding(25.dp) // Adjust where the layout is starting
.width(36.dp) // Set the width of the layout
.height(36.dp) // Set the height of the layout
.border(BorderStroke(1.dp, colorResource(id = R.color.cgux_primary_500_base))) // Draw the border around the shifted and sized area
.padding(5.dp) // Add padding within the image
Chrimaeon
02/10/2023, 2:38 PMStylianos Gakis
02/10/2023, 2:43 PM