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>