<?xml version="1.0" encoding="utf-8"?>
<!-- Parent linear layout with vertical orientation -->
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent">
   
  <TextView android:layout_width="fill_parent" android:layout_height="wrap_content"
            android:text="Email:" android:padding="5dip"/>
             
  <EditText android:layout_width="fill_parent" android:layout_height="wrap_content"
            android:layout_marginBottom="10dip"/>            
   
  <Button android:layout_width="fill_parent" android:layout_height="wrap_content"
            android:text="Login"/>
   
  <!-- Child linear layout with horizontal orientation -->
  <LinearLayout android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
              android:orientation="horizontal" android:background="#2a2a2a"
              android:layout_marginTop="25dip">
                 
  <TextView
      android:layout_width="130dp"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:padding="15dip"
      android:text="Home" />
             
  <TextView
      android:layout_width="132dp"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:padding="15dip"
      android:text="About" />
   
  </LinearLayout>
     
</LinearLayout>

