I want to set the screen with two parts, one part has Imageview
and the other part has ScrollView
, so I set weight on height to 0.4 in Imageview
and 0.6 in Scrollview
. Now I have some horizontal LinearLayout
in ScrollView
with two components, ImageView
and TextView
.
Now I want the same height of all layouts if it has less content.
So how do I implement this feature?
I have attached here with a screenshot so you can understand exactly what I want image link.
Here in the screenshot, the first image view content 0.4 weight height 0.6 weight to ScrollView
.
ScrollView
has four LinearLayout
with Imageview
and TextView
.
In this last three layouts max content layout height, I want it same in the other two layouts. If that layout has less content still I want the same height.
In the second image you can see the problem which I faced.