I have a LinearLayout and three components on it. How to make this layout?

If you do not replace LinearLayout with RelativeLayout , then you can insert another View of the following form between B and C:
<View android:layout_height="wrap_content" android:layout_width="0dip" android:layout_weight="1" /> All the magic lies in android:layout_weight="1" . Thanks to this attribute, View will stretch to the full available width.
Source: https://ru.stackoverflow.com/questions/49399/
All Articles