How to change textstyle to Material headline?

How to changes text style Material headline? Text("Lorem Ipsum", style = TextStyle() // ???? ) thanks >Solution : In M2 TextStyles are accessed via MaterialTheme.typography For example: Text( text = "Lorem Ipsum", style = MaterialTheme.typography.h1 ) You can customize them in your theme. Something like: val MyTypography = Typography( h1 = TextStyle( fontFamily = Rubik,… Read More How to change textstyle to Material headline?

How to set the width of a row to be equal to width of TextField in Jetpack Compose?

I want the width of the row that contains the button and the text to have the same width as the Text Fields. Here is what I have tried: Column( modifier = Modifier.fillMaxSize().padding(padding), verticalArrangement = Arrangement.Center, horizontalAlignment = Alignment.CenterHorizontally ) { TextField( value = email, onValueChange = { email = it }, placeholder = {Text(text… Read More How to set the width of a row to be equal to width of TextField in Jetpack Compose?