Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Attachment actions
Description
I have struggled with the layout [layout_mess.xml].with ConstraintLayout and Barrier.
The widgets should be rendered vertically except for some pairs the should be rendered horizontally.
It is all right from the top down to the widgets [txtAddress] and [cmdAddress].
The next widget [lblEventCategories], instead of following below, is rendered at the top and then follows the next widgets just like I want.
You can see that in [emulator_mess.png].
Finally I had to fix this by removing the attribute [app:layout_constraintBottom_toTopOf] from the widget [lblEventCategories] (see [layout_fix.xml]), thus I get the layout I want (see [emulator_fix.png]).
I am used to write my layout by XML, but I use the Android Studio designer for the preview: the preview replicates the problem just like the emulator.
You can see that in [designer_mess.png] and [designer_fix.png].
I think my layout is not too much complex and I am worried about the reliability of the ConstraintLayout.