0
我试图并排显示两个表。最初只有一个表格在ScrollView中,但我将其扩展到所有表格。现在即时通讯在ScrollView上获得一个未绑定的前缀。有任何想法吗?直到两个表都围绕它之后,我才得到了错误。ScrollView获取未绑定的前缀
编辑删除了ScrollView中的第二个表格和相对布局。没有效果。
<?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>