title: margin inside the edit text in android
body: <p>My question is : I have an EditText and I want set a margin inside the EditText, I mean margin for the content (the text) of the edit text, not a margin for a the view witch I can resolve by this attribute : <code>android:layout_marginLeft</code>.</p>
  
  <p>I need let some space before and after the text inside the EditText.</p>
  
  <p>I tried to set the padding, but doesn't work !</p>
  
  <p>this is my xml code :</p>
  
  <pre><code>&lt;FrameLayout
      android:layout_width="wrap_content"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_height="wrap_content" 
      android:layout_marginLeft="2dp"&gt;
  
      &lt;EditText android:inputType="none"
          android:textSize="15sp" 
          android:id="@+id/editText1" 
          android:scrollHorizontally="true" 
          android:layout_height="35dp"  
          android:padding="3dip" 
          android:singleLine="true"
          android:layout_width="160dp" 
          android:layout_weight="0" /&gt;
  
      &lt;ImageView android:id="@+id/refreshButton" 
          android:src="@drawable/refresh" 
          android:layout_height="wrap_content" 
          android:layout_width="wrap_content"
          android:layout_gravity="center_vertical|right" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Can any one help me to do that?</p>
  
  <p>Thanks in advance</p>