Files
andors-trail/AndorsTrail/res/layout/startscreen.xml
oskar.wiksten c89d0b1d9e Version 0.6.7 . Merged from local r76 .
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@21 08aca716-68be-ccc6-4d58-36f5abd142ac
2010-12-20 20:50:01 +00:00

104 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:gravity="center_horizontal"
android:background="@drawable/ui_startbackground"
>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical"
android:gravity="center_horizontal"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/andors_trail_logo"
/>
<TextView
android:id="@+id/startscreen_currenthero"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hero name"
/>
<EditText
android:id="@+id/startscreen_enterheroname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:inputType="textPersonName"
/>
</LinearLayout>
<TextView
android:id="@+id/startscreen_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:text="v0.0.1"
/>
</RelativeLayout>
<Button
android:id="@+id/startscreen_continue"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/startscreen_continue"
/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
>
<Button
android:id="@+id/startscreen_newgame"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/startscreen_newgame"
/>
<Button
android:id="@+id/startscreen_load"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/startscreen_load"
/>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
>
<Button
android:id="@+id/startscreen_about"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/startscreen_about"
/>
<Button
android:id="@+id/startscreen_quit"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/exit"
/>
</LinearLayout>
</LinearLayout>