title: Spinner prompt not showing
body: <p><img src="https://i.stack.imgur.com/fkySE.png" alt="enter image description here">I have a Profession's spinner(drop-down) in which i have list of professions.I want to show the default value as "Select Profession".In my xml i type android:prompt="Select Profession" but nothing is showing up.I wanted "Select Profession" to be shown at the spot where i have marked its as red</p>
  
  <p>Spinner.XML</p>
  
  <pre><code>  &lt;Spinner
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:id="@+id/sp_profession"
                      android:layout_weight="1"
                      style="@style/spinner"
                      android:prompt="Select Profession"
                      android:spinnerMode="dropdown"
                      android:layout_margin="2dp"&gt;&lt;/Spinner&gt; 
  </code></pre>
  
  <p>I did doing something like this but i am getting null value at prompt_text</p>
  
  <pre><code>profession_array = getResources ().getStringArray (R.array.Profession);
          profession_str = new ArrayAdapter&lt;String&gt; (c, R.layout.textview_spinner, profession_array);
          prompt_text.setText ("Select Profession");
          profession_str.setDropDownViewResource (android.R.layout.simple_dropdown_item_1line);
  </code></pre>
  
  <p>R.layout.textview_spinner</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TextView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:id="@+id/prompt_text"
      android:layout_height="wrap_content"
      android:paddingBottom="10dp"
      android:paddingLeft="10dp"
      android:paddingTop="10dp"
      android:minHeight="1dp"
      android:gravity="center"
      android:textSize="20sp"
      android:textColor="@android:color/white" /&gt;
  </code></pre>