위그림과 같이 레이아웃을 생성 하고 싶은데요.
위 그림과 같이 생성할려고 Tablelayout 을 사용하여 만들어 보려고 연구 중입니다.
그런데 Tablelayout 생성시 html처럼 열을 합치는 방법을 잘 모르겠습니다.
아시는 고수님을 조언 부탁합니다.
꼭 Tablelayout 이 아니라도 위 그림과 같이 하는 출력되게 하는방법 있으면 알려주세요.
이정도야 LinearLayout으로 쓱싹쓱싹
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0">
<TextView android:text="Left Pane" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
android:layout_weight="1.0"
android:orientation="vertical">
<TextView android:text="Right Pane 1" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<TextView android:text="Right Pane 2" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<TextView android:text="Right Pane 3" android:layout_weight="1.0" android:layout_width="fill_parent" android:layout_height="fill_parent"></TextView>
<TextView android:text="Right Pane 4" android:layout_weight="1.0" android:layout_width="fill_parent" android:layout_height="fill_parent"></TextView>
감사합니다 많은 도움 되었습니다.
로그인 유지
이정도야 LinearLayout으로 쓱싹쓱싹
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0">
<TextView android:text="Left Pane" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0"
android:orientation="vertical">
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0"
android:orientation="horizontal">
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0">
<TextView android:text="Right Pane 1" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0">
<TextView android:text="Right Pane 2" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0"
android:orientation="horizontal">
<TextView android:text="Right Pane 3" android:layout_weight="1.0" android:layout_width="fill_parent" android:layout_height="fill_parent"></TextView>
<TextView android:text="Right Pane 4" android:layout_weight="1.0" android:layout_width="fill_parent" android:layout_height="fill_parent"></TextView>
</LinearLayout>
<LinearLayout
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_weight="1.0"
android:orientation="horizontal">
</LinearLayout>
</LinearLayout>
</LinearLayout>