title: Spinner for date of birth (Android)
body: <p>I am creating a registration form for an application. I want to prompt the user to enter his date of birth through three spinners (DD-MM-YY).</p>
  
  <p>This is my XML for the sign up/registration form:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@drawable/ic_signup"
      android:gravity="center_vertical"
      android:orientation="vertical" &gt;
  
      &lt;EditText
          android:textColor="#FFFFFF"
          android:id="@+id/editTextEmail"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:hint="Email" /&gt;
  
         &lt;requestFocus /&gt;
  
  &lt;EditText
           android:textColor="#FFFFFF"
      android:id="@+id/editTextFirstName"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:hint="First Name" /&gt;
  
  &lt;EditText
      android:textColor="#FFFFFF"
      android:id="@+id/editTextLastName"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:hint="Last Name" /&gt;
  
  &lt;EditText
      android:textColor="#FFFFFF"
      android:id="@+id/editTextPassword"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:hint="Password"
      android:inputType="textPassword" /&gt;
  
  &lt;EditText
      android:textColor="#FFFFFF"
      android:id="@+id/editTextConfirmPassword"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:hint="Confirm Password"
      android:inputType="textPassword" /&gt;
  
  &lt;EditText
      android:textColor="#FFFFFF"
      android:id="@+id/editTextAge"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:hint="Age" /&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:gravity="center_horizontal"
      android:orientation="horizontal" &gt;
  
      &lt;TextView
          android:id="@+id/mynumber"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Number +961"
          android:textSize="20sp"
          android:color="@android:color/white" /&gt;
  
      &lt;EditText
          android:id="@+id/editTextNumber"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:hint="Number" 
          android:textColor="#FFFFFF"/&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center_vertical"
          android:orientation="vertical" &gt;
  
          &lt;Button
              android:id="@+id/buttonCreateAccount"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:layout_marginBottom="60dp"
              android:background="@drawable/ic_create"
               /&gt;
  
                 &lt;/LinearLayout&gt;
            &lt;/LinearLayout&gt;
        &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>You can see that there is an "Age" section (EditText) that I will delete and replace by the spinner one. What should the spinner section look like?</p>