project_files/Android-build/SDL-android-project/res/layout/activity_lobby.xml
author Wuzzy <almikes@aol.com>
Wed, 04 Oct 2017 16:09:28 +0200
changeset 12643 5bc6fb5da42f
parent 7582 714310efad8f
permissions -rw-r--r--
Add README files to explain the tests directory

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    <include layout="@layout/background" />

    <TabHost
        android:id="@android:id/tabhost"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="horizontal" >

            <TabWidget
                android:id="@android:id/tabs"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_weight="0" />

            <FrameLayout
                android:id="@android:id/tabcontent"
                android:layout_width="0dip"
                android:layout_height="match_parent"
                android:layout_weight="1" >

                <fragment
                    android:id="@+id/roomListFragment"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    class="org.hedgewars.hedgeroid.RoomlistFragment"
                    tools:layout="@layout/fragment_roomlist" />

                <fragment
                    android:id="@+id/chatFragment"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    class="org.hedgewars.hedgeroid.ChatFragment"
                    tools:layout="@layout/fragment_chat" />

                <fragment
                    android:id="@+id/playerListFragment"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    class="org.hedgewars.hedgeroid.LobbyPlayerlistFragment"
                    tools:layout="@layout/fragment_playerlist" />
            </FrameLayout>
        </LinearLayout>
    </TabHost>

</FrameLayout>