-
Notifications
You must be signed in to change notification settings - Fork 320
Open
Description
错误:ScrollView can host only one direct child
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.Widget.pulltorefresh.XScrollView
android:id="@+id/xScrollView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
android:scrollbars="none" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/x40"
android:layout_marginRight="@dimen/x40"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawablePadding="@dimen/x20"
android:gravity="center_vertical"
android:layout_marginTop="@dimen/y50"
android:text=" 监控"
android:textSize="@dimen/x36"
android:textStyle="bold"
android:textColor="@color/titlebar_Text_color"/>
</LinearLayout>
</com.Widget.pulltorefresh.XScrollView>
</RelativeLayout>Metadata
Metadata
Assignees
Labels
No labels