project_files/Android-build/SDL-android-project/res/layout-large/activity_netroom.xml
author Wuzzy <Wuzzy2@mail.ru>
Tue, 07 Aug 2018 16:23:51 +0200
changeset 13632 4c49a4944884
parent 7582 714310efad8f
permissions -rw-r--r--
Fix hard-to-read text on campaign and training page in frontend at October 31 The text was yellow against a white background (the moon in the Halloween background). This is fixed by darkening the critical area.

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

    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:padding="2dp" >

        <LinearLayout
            android:id="@+id/upperFrame"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_alignParentRight="true"
            android:layout_alignParentTop="true"
            android:layout_marginBottom="4dp"
            android:baselineAligned="false"
            android:minHeight="200dp" >
            
            <FrameLayout
                android:id="@+id/mapFrame"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginRight="4dp"
                android:layout_weight="1"
                android:background="@drawable/box" >

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

            <FrameLayout
                android:id="@+id/settingsFrame"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginRight="4dp"
                android:layout_weight="1"
                android:background="@drawable/box" >

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

            <FrameLayout
                android:id="@+id/teamsFrame"
                android:layout_width="0dp"
                android:layout_height="fill_parent"
                android:layout_weight="1"
                android:background="@drawable/box" >

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

        <FrameLayout
            android:id="@+id/playerFrame"
            android:layout_width="200dp"
            android:layout_height="fill_parent"
            android:layout_above="@+id/startGame"
            android:layout_alignParentRight="true"
            android:layout_below="@id/upperFrame"
            android:background="@drawable/box" >

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

        <FrameLayout
            android:layout_width="0dp"
            android:layout_height="fill_parent"
            android:layout_alignParentBottom="true"
            android:layout_alignParentLeft="true"
            android:layout_below="@id/upperFrame"
            android:layout_marginRight="4dp"
            android:layout_toLeftOf="@id/playerFrame"
            android:background="@drawable/box" >

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

        <Button
            android:id="@id/startGame"
            android:layout_width="200dp"
            android:layout_height="67dp"
            android:layout_marginTop="4dp"
            android:layout_alignParentBottom="true"
            android:layout_alignParentRight="true"
            android:background="@drawable/startgamebutton" />

    </RelativeLayout>

</FrameLayout>