Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

174
Views
horizontalArrangement no funciona en Jetpack Compose

He intentado aplicar SpaceBetween, SpaceEvenly y SpaceAround pero parece que nada funciona aquí. Mi objetivo principal aquí es colocar el botón de icono y el texto al principio y al final de la misma fila. Por favor, no se refiera a la barra de aplicaciones para hacerlo. Solo quiero saber por qué esto no funciona y cuál es la solución.

ingrese la descripción de la imagen aquí

 Row( modifier = Modifier.padding(30.dp), horizontalArrangement = Arrangement.SpaceBetween ){ Text( "NOTES", fontSize = 30.sp, fontWeight = FontWeight.Bold, color = Color.White ) IconButton(onClick = { /*TODO*/ }) { Icon( Icons.Filled.Search, contentDescription = "Search", tint = Color.LightGray ) } }
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Agrega el modificador fillMaxWidth() en tu Row

 Row( modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.SpaceBetween ){ //....your content }

ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo Report

0

En el modificador de Fila use fillMaxWidth()

 Row( modifier = Modifier .fillMaxWidth() .padding(30.dp), horizontalArrangement = Arrangement.SpaceBetween )
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!