Android 获取ScrollView上的未绑定前缀
我正试图并排展示两张桌子。最初,ScrollView中只有一个表,但我将其扩展到了所有表。现在我在ScrollView上得到了一个未绑定的前缀。有什么想法吗?直到将错误包含在两张表中之后,我才发现它 在ScrollView中编辑删除的第二个表和相对布局。没有效果Android 获取ScrollView上的未绑定前缀,android,xml,android-layout,xml-parsing,Android,Xml,Android Layout,Xml Parsing,我正试图并排展示两张桌子。最初,ScrollView中只有一个表,但我将其扩展到了所有表。现在我在ScrollView上得到了一个未绑定的前缀。有什么想法吗?直到将错误包含在两张表中之后,我才发现它 在ScrollView中编辑删除的第二个表和相对布局。没有效果 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:background="@drawable/aegis">
//Some TextViews here
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/techOvr"
android:layout_marginTop="10dp"
android:id="@+id/shipInfoLinearLayout1">
<RelativeLayout
android:id="@+id/headers"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical">
//TextViews
</RelativeLayout>
<ScrollView
androud:id="@+id/tableScroll"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_below="@id/headers"
android:fillViewport="true"
android:layout_marginTop="30dp"
android:layout_marginStart="30dp"
android:layout_marginLeft="30dp">
<TableLayout>
//Mess load of TableRows and TextViews.
</TableLayout>
</ScrollView>
</RelativeLayout>
</RelativeLayout>
解决了…显然我在id上拼错了安卓:标签。应该是facepalm