title: how to align the text(hint) in the center of edit text
body: <p>In this code although i have used text align attribute to set the "hint" in the center of the Edit Text view. But it is not working properly.</p>
  
  <pre><code> &lt;EditText
          android:layout_width="300dp"
          android:layout_height="wrap_content"
          android:id="@+id/editText"
          android:layout_centerVertical="true"
          android:hint="Enter number here"
          android:textAlignment="center"
          android:layout_centerHorizontal="true" /&gt;
  </code></pre>