</LinearLayout> </LinearLayout> </LinearLayout> </LinearLayout> </LinearLayout> </LinearLayout> </LinearLayout> </LinearLayout> </RelativeLayout> </RelativeLayout> </LinearLayout> </RelativeLayout> Which Container closes where again? Did I close them all correctly?
all views • You have to set your "android:width" to "0dp" • "app:layout_constraintHeight_percent" can be applied to all views • You have to set your "android:height" to "0dp"
both directions are set • default is 0.5 • same size on each side -> center • values < 0.5 move the view to the left • values > 0.5 move the view to the right
same value • "spread_inside" • Puts the Start/End Elements to the edge of the reference points and gives all inner constraints the same value • "packed" • Packs all inner constraints together at the center
differ in size • Other views can constraint to the barrier • References Views by id • Can vertical • To left/start or right/end • Can be horizontal • To top or bottom