How do I achieve the following vertical layout in Android ?
View1
View2
View3
All three views have width that fits the screen.
View2
height is fixed (= 100).
View1
height is equal to view3's
height.
Am I able to achieve this with LinearLayout
, RelativeLayout
, ConstraintLayout
?
I'd appreciate if there is a programmatical solution, instead of the XML
layout.