请问关于editext的 显示问题 对editext进行自定义(主要是背景图吧)也可将editext设置无背景图,editext后面加个布局背景 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 加这一句 android:gravity="top"<EditText android:id="@+id/edit" android:textSize="20dp" android:gravity="top" android:background = "@drawable/edittext_style" android:layout_marginRight="10dp" android:layout_marginLeft="10dp" android:layout_width="fill_parent" android:inputType="textMultiLine" android:layout_height="fill_parent" android:textColor="#707070" android:text="aaaaaaaaa"/> 重看了一次,明白了,就是想edittext文字左上对齐是吧。 android:gravity="left|top" android:gravity="top" 给第一个edittext加上去就ok了 textView 滚动条 回到开头的位置 android真机调试没有shared_pref目录 android activity以对话框的方式显示,如何做成仿windwos关机的效果? android scrollview 动态滚动怎么获取数据放入LISTVIEW中 有关布局问题 点击“浏览”时选择sd卡上的文件 ?? 急救! android jet Creator 无法使用后 GIS的点抽稀 跪求一份英文注释的新浪微博 sdk Mediaplayer的资源释放 学习js前端还是java后端对Android开发帮助大 自学Android,看哪套视频最好?收费的也行。
加这一句 android:gravity="top"<EditText
android:id="@+id/edit"
android:textSize="20dp"
android:gravity="top"
android:background = "@drawable/edittext_style"
android:layout_marginRight="10dp"
android:layout_marginLeft="10dp"
android:layout_width="fill_parent"
android:inputType="textMultiLine"
android:layout_height="fill_parent"
android:textColor="#707070"
android:text="aaaaaaaaa"/>
重看了一次,明白了,就是想edittext文字左上对齐是吧。
android:gravity="left|top"