<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"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
tools:context=".FindAppActivity" >
<WebView
android:id="@+id/load_url"
android:layout_width="fill_parent"
android:layout_height="match_parent"
/>
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
tools:context=".FindAppActivity" >
<WebView
android:id="@+id/load_url"
android:layout_width="fill_parent"
android:layout_height="match_parent"
/>
</RelativeLayout>
这边加了
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
报错