这里只想说一句,在EditText中 如果想让输入框中的有默认的内容,用hint
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView1"
android:layout_marginLeft="34dp"
android:layout_toRightOf="@+id/textView1"
android:ems="10"
android:hint="请填写登录账号" >
<requestFocus />
</EditText>
疯狂android讲义学习总结---TextView
猜你喜欢
转载自1269794124.iteye.com/blog/1870152
今日推荐
周排行