Я хочу создать вид ниже, чтобы отобразить его на планшете Android. Я хочу знать XML-код для проектирования такого вида. Может кто-нибудь мне помочь ?
Я использовал следующий код сейчас ...
но как установить 50% таблицы на обеих сторонах
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:gravity="left" android:layout_height="fill_parent" android:id="@+id/relativeLayout1">
<TableLayout android:layout_toLeftOf="@+id/tableLayout2" android:id="@+id/tableLayout1" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:text="table 1"></TextView>
</TableLayout>
<TableLayout android:layout_toRightOf="@+id/tableLayout1" android:id="@+id/tableLayout2" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:text="table 2"></TextView>
</TableLayout>
</RelativeLayout>