project_files/Android-build/SDL-android-project/res/layout/activity_main.xml
author sheepluva
Wed, 17 Dec 2014 21:01:44 +0100
changeset 10691 97f45f1374be
parent 7582 714310efad8f
permissions -rw-r--r--
change speechfix implementation (no "continue" anymore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5304
e29aa9e29f00 Added SDL-android-project, this is the Android/Java part of the application
Xeli
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
7444
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     2
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
5304
e29aa9e29f00 Added SDL-android-project, this is the Android/Java part of the application
Xeli
parents:
diff changeset
     3
    android:layout_width="fill_parent"
7444
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     4
    android:layout_height="fill_parent" >
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     5
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     6
    <include layout="@layout/background" />
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     7
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     8
    <RelativeLayout
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
     9
        android:layout_width="fill_parent"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    10
        android:layout_height="fill_parent" >
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    11
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    12
        <View
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    13
            android:id="@+id/placeholder"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    14
            android:layout_width="0dp"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    15
            android:layout_height="0dp"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    16
            android:layout_centerInParent="true" />
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    17
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    18
        <FrameLayout
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    19
            android:id="@+id/frameLayout1"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    20
            android:layout_width="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    21
            android:layout_height="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    22
            android:layout_alignParentBottom="true"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    23
            android:layout_alignParentLeft="true"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    24
            android:layout_alignParentTop="true"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    25
            android:layout_toLeftOf="@id/placeholder" >
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    26
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    27
            <Button
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    28
                android:id="@+id/startGame"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    29
                android:layout_width="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    30
                android:layout_height="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    31
                android:layout_gravity="center"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    32
                android:drawableTop="@drawable/button_local_play"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    33
                android:text="@string/main_button_localplay" />
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    34
        </FrameLayout>
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    35
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    36
        <FrameLayout
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    37
            android:layout_width="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    38
            android:layout_height="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    39
            android:layout_alignParentBottom="true"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    40
            android:layout_alignParentRight="true"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    41
            android:layout_alignParentTop="true"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    42
            android:layout_toRightOf="@id/placeholder" >
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    43
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    44
            <Button
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    45
                android:id="@+id/joinLobby"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    46
                android:layout_width="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    47
                android:layout_height="wrap_content"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    48
                android:layout_gravity="center"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    49
                android:drawableTop="@drawable/button_network_play"
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    50
                android:text="@string/main_button_netplay" />
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    51
        </FrameLayout>
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    52
    </RelativeLayout>
2e31f114f57e Hedgeroid: various improvements:
Medo <smaxein@googlemail.com>
parents: 7328
diff changeset
    53
6602
9bd4985120b3 background now properly resizes on tablets
Xeli
parents: 6588
diff changeset
    54
</FrameLayout>