6/9/2023 0 Comments Red light center apkYour textView is not constrained to anything other than app:layout_constraintBottom_toTopOf="parent" When that is said, your problem is that you are asking your layout to constrain at a 0.5 bias to nothing. Read more about bias.įirst of if i were you i would look at some guides explaining constraint layouts, since you seem to be missing some key elements. You haven't constrained it to any parent. To use bias you need to give constrained it to any parent.Īpp:layout_constraintHorizontal_bias="0.5" is not working because Who has ideas for this problem ? Thanks for first ! I want to move TextView to center_horizontal to parent view, but layout_constraintHorizontal_bias=0.5" seems not work.
0 Comments
Leave a Reply. |