我有一个多行EditText:
<EditText
android:layout_gravity="center"
android:id="@+id/txtMessage"
android:layout_height="wrap_content"
android:layout_below="@+id/lblMessage"
android:layout_width="wrap_content"
android:width="250dip"
android:text=""
android:maxLength="760"
android:lines="4">
</EditText>
Run Code Online (Sandbox Code Playgroud)
现在内容与中间对齐.我希望将内容与顶部对齐如下:
垂直对齐的文本示例http://img28.imageshack.us/img28/3972/edittext.png
有没有财产可以做到这一点?