Jiri Bruchanov
11/12/2022, 10:12 AMJiri Bruchanov
11/12/2022, 10:12 AMJiri Bruchanov
11/12/2022, 10:12 AMAbdelilah El Aissaoui
11/12/2022, 12:04 PMJiri Bruchanov
11/12/2022, 12:07 PMrobercoding
11/12/2022, 4:47 PMIn the View system,Anyways, I'm still not sure what do you want to achieve, if I understood correctly you want text to be separated from badges and icons, the text starting from left side and badge and icons in the right side, right? Would be nice to see the output withwas the recommended way to create large and complex layouts, as a flat view hierarchy was better for performance than nested views are. However, this is not a concern in Compose, which is able to efficiently handle deep layout hierarchies.ConstraintLayout
Row
system so anyone is able to help you instantly 🙂Jiri Bruchanov
11/12/2022, 4:53 PMText+Badge..................................Icon1+Icon2
instead of 1st and 2nd row...
and 3rd/4th in case the text is long...
(the "NEW" badge is optional based on state)
ConstraintLayout is necessary in some cases so it's still good to know it...Abdelilah El Aissaoui
11/12/2022, 4:55 PMJiri Bruchanov
11/12/2022, 4:55 PM