How to set the hint properly in a text Box means EditText in android
<p>I am using <strong>EditText</strong> and providing some Hint there. I am putting it like this:  </p>

<pre><code>android:hint="@string/user_name_hint"
android:textColorHint="#ffffff"
android:gravity="left"
</code></pre>

<p>But here hint is coming in the left side. But i want the hint is in the middle of the box and when i am clicking the text should start from the left.</p>

<p>How it is possible??</p>
