<?xml version=
"1.0"
encoding=
"utf-8"
?>
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:background=
"#ff0000"
android:layout_weight=
"2"
android:gravity=
"center"
android:orientation=
"vertical"
>
<ToggleButton
android:text=
"ToggleButton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/toggleButton2"
/>
<ToggleButton
android:text=
"ToggleButton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/toggleButton"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:background=
"#00ff00"
android:layout_weight=
"1"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"TextView1"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"TextView2"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"TextView3"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:background=
"#0000ff"
android:layout_weight=
"3"
android:gravity=
"right|bottom"
android:orientation=
"vertical"
>
<RadioButton
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"#ffffff"
tools:text=
"RadioButton1"
/>
<RadioButton
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"#ffffff"
tools:text=
"RadioButton2"
/>
<RadioButton
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"#ffffff"
tools:text=
"RadioButton3"
/>
</LinearLayout>
</LinearLayout>