1.在scrollView布局中,我们如果直接使用RelitiveLayout,布局如下:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrol_user"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffafafaf">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="168dp"
android:background="#ff338844" >
<ImageView
android:id="@+id/user_set"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_ma