Untitled

 avatar
unknown
kotlin
2 years ago
4.5 kB
5
Indexable
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:layout_weight="4">
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:text="Msg A1"
                android:background="#800000"
                android:textColor="#FFFFFF"
                android:gravity="center"
                android:layout_weight="1">
            </TextView>
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:text="Msg C1"
                android:background="#008000"
                android:textColor="#FFFFFF"
                android:gravity="center"
                android:layout_weight="1">
            </TextView>
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:text="Msg C2"
                android:background="#00FF00"
                android:textColor="#000000"
                android:gravity="center"
                android:layout_weight="1">
            </TextView>
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:layout_weight="2">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="horizontal"
                android:layout_weight="2">
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="Msg A2"
                    android:textColor="#FFFFFF"
                    android:background="#950000"
                    android:gravity="center"
                    android:layout_weight="1">
                </TextView>
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical"
                    android:layout_weight="1">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="0dp"
                        android:layout_weight="1"
                        android:text="Msg B1"
                        android:textColor="#FFFFFF"
                        android:background="#FF0000">
                    </TextView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="0dp"
                        android:layout_weight="1"
                        android:text="Msg B2"
                        android:textColor="#FFFFFF"
                        android:background="#FF0000">
                    </TextView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="0dp"
                        android:layout_weight="1"
                        android:text="Msg B3"
                        android:textColor="#FFFFFF"
                        android:background="#FF0000">
                    </TextView>
                </LinearLayout>
            </LinearLayout>
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:textColor="#FFFFFF"
                android:text="Msg D1"
                android:background="#0000FF"
                android:layout_weight="1">
            </TextView>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>
Editor is loading...