project_files/Android-build/SDL-android-project/res/layout/activity_netroom.xml
author koda
Wed, 12 Jun 2013 12:18:03 +0200
changeset 9212 1d4e1469940b
parent 7582 714310efad8f
permissions -rw-r--r--
use QT_DEBUG which is always added

<?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/mapFragment"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    class="org.hedgewars.hedgeroid.MapFragment"
                    tools:layout="@layout/fragment_map" />

                <fragment
                    android:id="@+id/settingsFragment"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    class="org.hedgewars.hedgeroid.SettingsFragment"
                    tools:layout="@layout/fragment_settings" />

                <fragment
                    android:id="@+id/teamlistFragment"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    class="org.hedgewars.hedgeroid.TeamlistFragment"
                    tools:layout="@layout/fragment_teamlist" />

                <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" />

                <LinearLayout
                    android:id="@+id/playerListContainer"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:orientation="vertical" >

                    <fragment
                        android:id="@+id/playerListFragment"
                        android:layout_width="fill_parent"
                        android:layout_height="0dp"
                        android:layout_weight="1"
                        class="org.hedgewars.hedgeroid.RoomPlayerlistFragment"
                        tools:layout="@layout/fragment_playerlist" />

                    <Button
                        android:id="@+id/startGame"
                        android:layout_width="120dp"
                        android:layout_height="40dp"
                        android:layout_gravity="right"
                        android:layout_marginTop="4dp"
                        android:background="@drawable/startgamebutton" />
                </LinearLayout>
            </FrameLayout>
        </LinearLayout>
    </TabHost>

</FrameLayout>