title: How make android edittext hint center and left cursor
body: <p>How set hint text in the center of EditText and set cursor in the left part of EditText? And when i start input text it start from the center EditText?</p>
  
  <p><a href="https://i.stack.imgur.com/MBmyf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MBmyf.png" alt="enter image description here"></a></p>
  
  <p>Now i have</p>
  
  <p><a href="https://i.stack.imgur.com/SweWQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SweWQ.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;LinearLayout
                  android:orientation="horizontal"
                  android:layout_width="fill_parent"
                  android:layout_height="match_parent"
                  android:background="@drawable/line_white"
                  android:layout_marginBottom="25dp"
                  android:paddingBottom="16dp"
                  android:gravity="center_horizontal"&gt;
  
                  &lt;EditText
                      android:id="@+id/loginEmailField"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:autoText="false"
                      android:ems="10"
                      android:hint="Choose an email adress"
                      android:inputType="textEmailAddress"
                      android:paddingLeft="2dp"
                      android:singleLine="false"
                      android:textColor="#ffffff"
                      android:textColorHint="#9377ab"
                      android:textSize="19sp"
                      android:textStyle="bold"
                      android:background="#00000000"
                      android:layout_marginRight="2dp"
                      android:gravity="center"/&gt;
              &lt;/LinearLayout&gt;
  </code></pre>