project_files/Android-build/SDL-android-project/res/layout-large/activity_lobby.xml
author Medo <smaxein@googlemail.com>
Mon, 20 Aug 2012 20:19:35 +0200
changeset 7582 714310efad8f
parent 7552 1209e1c3c620
permissions -rw-r--r--
Hedgeroid: Final sprint to the deadline - Changed local game setup to use the new fragments from the netroom - Pulled team editing into the main activity menu / action bar - Cleanups, renames, anything to make the code look better ;)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     2
<FrameLayout
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     3
	xmlns:android="http://schemas.android.com/apk/res/android"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     4
	xmlns:tools="http://schemas.android.com/tools"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     5
  	android:layout_width="fill_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     6
	android:layout_height="fill_parent">
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     7
	<include layout="@layout/background"/>
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     8
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
     9
	<LinearLayout
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    10
	    android:layout_width="match_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    11
	    android:layout_height="match_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    12
	    android:orientation="vertical"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    13
	    android:padding="5dp" >
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    14
	
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    15
	    <FrameLayout
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    16
	        android:layout_width="fill_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    17
	        android:layout_height="0dp"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    18
	        android:layout_marginBottom="10dp"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    19
	        android:layout_weight="0.4"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    20
	        android:background="@drawable/box" >
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    21
	
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    22
	        <fragment
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    23
	            android:id="@+id/roomListFragment"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    24
	            android:layout_width="fill_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    25
	            android:layout_height="fill_parent"
7552
1209e1c3c620 Hedgeroid: Fixed the restructuring-induced breakage
Medo <smaxein@googlemail.com>
parents: 7476
diff changeset
    26
	            class="org.hedgewars.hedgeroid.RoomlistFragment"
7582
714310efad8f Hedgeroid: Final sprint to the deadline
Medo <smaxein@googlemail.com>
parents: 7552
diff changeset
    27
	            tools:layout="@layout/fragment_roomlist" />
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    28
	    </FrameLayout>
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    29
	
7449
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    30
	    <RelativeLayout
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    31
	        android:layout_width="fill_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    32
	        android:layout_height="0dp"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    33
	        android:layout_weight="0.6"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    34
	        android:baselineAligned="false"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    35
	        android:orientation="horizontal" >
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    36
	
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    37
	        <FrameLayout
7449
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    38
	            android:id="@+id/playerFrame"
7455
8e86d8d2927d Hedgeroid: Fix argument passing to ChatFragment, small layout fixes
Medo <smaxein@googlemail.com>
parents: 7449
diff changeset
    39
	            android:layout_width="250dp"
7449
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    40
	            android:layout_height="fill_parent"
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    41
	            android:layout_alignParentRight="true"
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    42
	            android:background="@drawable/box" >
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    43
	
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    44
	            <fragment
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    45
	                android:id="@+id/playerListFragment"
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    46
	                android:layout_width="fill_parent"
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    47
	                android:layout_height="fill_parent"
7552
1209e1c3c620 Hedgeroid: Fixed the restructuring-induced breakage
Medo <smaxein@googlemail.com>
parents: 7476
diff changeset
    48
	                class="org.hedgewars.hedgeroid.LobbyPlayerlistFragment"
7476
2fb781bbdd51 Hedgeroid: Start using the frontlib for more operations
Medo <smaxein@googlemail.com>
parents: 7455
diff changeset
    49
	                tools:layout="@layout/fragment_playerlist" />
7449
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    50
	        </FrameLayout>
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    51
	        
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    52
	        <FrameLayout
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    53
	            android:layout_width="0dp"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    54
	            android:layout_height="fill_parent"
7449
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    55
	            android:layout_alignParentLeft="true"
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    56
	            android:layout_toLeftOf="@id/playerFrame"
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    57
	            android:layout_marginRight="10dp"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    58
	            android:background="@drawable/box" >
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    59
	
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    60
	            <fragment
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    61
	                android:id="@+id/chatFragment"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    62
	                android:layout_width="fill_parent"
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    63
	                android:layout_height="fill_parent"
7552
1209e1c3c620 Hedgeroid: Fixed the restructuring-induced breakage
Medo <smaxein@googlemail.com>
parents: 7476
diff changeset
    64
	                class="org.hedgewars.hedgeroid.ChatFragment"
7455
8e86d8d2927d Hedgeroid: Fix argument passing to ChatFragment, small layout fixes
Medo <smaxein@googlemail.com>
parents: 7449
diff changeset
    65
	                tools:layout="@layout/fragment_chat" />
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    66
	        </FrameLayout>
7449
2e63537b44f3 Hedgeroid: Room screen WIP
Medo <smaxein@googlemail.com>
parents: 7349
diff changeset
    67
	    </RelativeLayout>
7349
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    68
	
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    69
	</LinearLayout>
12fdfd2038d4 Hedgeroid: More work on the lobby activity
Medo <smaxein@googlemail.com>
parents:
diff changeset
    70
</FrameLayout>