我有 edittext 填充问题

I'm having edittext padding problems

我在 TextView 的填充方面遇到问题。我想从顶部开始写一些东西,而不是从 TextView Box 的中心开始。请查看代码和屏幕截图。

TextView 代码:

<EditText
    android:layout_width="match_parent"
    android:layout_height="150dp"
    android:layout_marginLeft="10dp"
    android:layout_marginRight="10dp"
    android:layout_marginTop="4dp"
    android:background="@drawable/edittextstyle"
    android:padding="10dp"
    android:textSize="17sp"
    android:id="@+id/review_comments"/>

edittextstyle.xml

   <shape xmlns:android="http://schemas.android.com/apk/res/android"
   android:thickness="0dp"
   android:shape="rectangle">
   <stroke android:width="1dp"
   android:color="#000000"/>

   <corners android:radius="2dp" />


   <gradient
   android:startColor="#C8C8C8"
   android:endColor="#FFFFFF"
   android:type="linear"
   android:angle="270"/>
   </shape>

http://i.imgur.com/p9rZDjW.png

尝试将此添加到您的 EditText:

android:gravity="top|left"