| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
xmlns:tools="http://schemas.android.com/tools" |
| 4 |
android:layout_width="fill_parent" |
| 5 |
android:layout_height="fill_parent" > |
| 6 |
|
| 7 |
<include layout="@layout/background" /> |
| 8 |
|
| 9 |
<RelativeLayout |
| 10 |
android:layout_width="fill_parent" |
| 11 |
android:layout_height="fill_parent" |
| 12 |
android:padding="2dp" > |
| 13 |
|
| 14 |
<LinearLayout |
| 15 |
android:id="@+id/upperFrame" |
| 16 |
android:layout_width="fill_parent" |
| 17 |
android:layout_height="wrap_content" |
| 18 |
android:layout_alignParentLeft="true" |
| 19 |
android:layout_alignParentRight="true" |
| 20 |
android:layout_alignParentTop="true" |
| 21 |
android:layout_marginBottom="4dp" |
| 22 |
android:layout_above="@+id/startGame" |
| 23 |
android:baselineAligned="false" |
| 24 |
android:minHeight="200dp" > |
| 25 |
|
| 26 |
<FrameLayout |
| 27 |
android:id="@+id/mapFrame" |
| 28 |
android:layout_width="0dp" |
| 29 |
android:layout_height="fill_parent" |
| 30 |
android:layout_marginRight="4dp" |
| 31 |
android:layout_weight="1" |
| 32 |
android:background="@drawable/box" > |
| 33 |
|
| 34 |
<fragment |
| 35 |
android:id="@+id/mapFragment" |
| 36 |
android:layout_width="fill_parent" |
| 37 |
android:layout_height="fill_parent" |
| 38 |
class="org.hedgewars.hedgeroid.MapFragment" |
| 39 |
tools:layout="@layout/fragment_map" /> |
| 40 |
</FrameLayout> |
| 41 |
|
| 42 |
<FrameLayout |
| 43 |
android:id="@+id/settingsFrame" |
| 44 |
android:layout_width="0dp" |
| 45 |
android:layout_height="fill_parent" |
| 46 |
android:layout_marginRight="4dp" |
| 47 |
android:layout_weight="1" |
| 48 |
android:background="@drawable/box" > |
| 49 |
|
| 50 |
<fragment |
| 51 |
android:id="@+id/settingsFragment" |
| 52 |
android:layout_width="fill_parent" |
| 53 |
android:layout_height="fill_parent" |
| 54 |
class="org.hedgewars.hedgeroid.SettingsFragment" |
| 55 |
tools:layout="@layout/fragment_settings" /> |
| 56 |
</FrameLayout> |
| 57 |
|
| 58 |
<FrameLayout |
| 59 |
android:id="@+id/teamsFrame" |
| 60 |
android:layout_width="0dp" |
| 61 |
android:layout_height="fill_parent" |
| 62 |
android:layout_weight="1" |
| 63 |
android:background="@drawable/box" > |
| 64 |
|
| 65 |
<fragment |
| 66 |
android:id="@+id/teamsFragment" |
| 67 |
android:layout_width="fill_parent" |
| 68 |
android:layout_height="fill_parent" |
| 69 |
class="org.hedgewars.hedgeroid.TeamlistFragment" |
| 70 |
tools:layout="@layout/fragment_teamlist" /> |
| 71 |
</FrameLayout> |
| 72 |
</LinearLayout> |
| 73 |
|
| 74 |
<Button |
| 75 |
android:id="@id/startGame" |
| 76 |
android:layout_width="200dp" |
| 77 |
android:layout_height="67dp" |
| 78 |
android:layout_alignParentBottom="true" |
| 79 |
android:layout_centerHorizontal="true" |
| 80 |
android:background="@drawable/startgamebutton" /> |
| 81 |
</RelativeLayout> |
| 82 |
|
| 83 |
</FrameLayout> |