摘要:
1.判断EditText没有数据的时候,代码为edit.getText().toString().equals("");2.布局需要图片和文字,其中图片在左对齐,而文字的宽度不固定。此时可以在中间设置一个view,置宽度为1.View Code 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height=" 阅读全文