<LinearLayout

    android:layout_width="match_parent"

    android:layout_height="wrap_content"

    android:orientation="vertical">

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#FF0000"

        android:text="FF0000 Red"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#FF8000"

        android:text="FF8000 Orange"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#FFFF00"

        android:text="FFFF00 Yellow"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#00FF00"

        android:text="00FF00 Green"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#0000FF"

        android:textColor="#FFFFFF"

        android:text="0000FF Blue"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#FF00FF"

        android:text="FF00FF Purple"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#FFFFFF"

        android:text="FFFFFF White"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#808080"

        android:text="808080 Gray"/>

    <TextView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:background="#000000"

        android:textColor="#FFFFFF"

        android:text="000000 Black"/>

</LinearLayout>