Files
andors-trail/AndorsTrail/res/layout/heroinfo_stats.xml
oskar.wiksten@gmail.com 49eb55cbf0 Structural refactoring: moved CombatTraits from being a superclass of ActorTraits into being a property of Actor (for issue 251 & issue 253).
Save active monster conditions in savegame file (issue 253).
Save individual monster combat stats in savegame file (issue 251).
Display active monster conditions on monster info dialog. (issue 252).
Renamed "unequipped stats" to "Base combat statistics (without equipment and skills)".
Bumped version number.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@177 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-12 22:04:46 +00:00

142 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_gravity="center_horizontal"
android:padding="@dimen/dialog_margin"
>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical">
<ImageView
android:id="@+id/heroinfo_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/char_hero"
android:paddingRight="@dimen/dialog_iconpadding_right"
android:paddingBottom="@dimen/dialog_iconpadding_bottom"
/>
<TextView
android:id="@+id/heroinfo_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Name"
android:textSize="@dimen/titletext"
/>
</LinearLayout>
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/section_margin"
>
<TableRow>
<TextView android:text="@string/heroinfo_level" android:layout_marginRight="10sp" />
<TextView android:text="1" android:id="@+id/heroinfo_level" />
</TableRow>
<TableRow>
<TextView android:text="@string/heroinfo_totalexperience" android:layout_marginRight="10sp" />
<TextView android:text="1" android:id="@+id/heroinfo_totalexperience" />
</TableRow>
<TableRow>
<TextView android:text="@string/heroinfo_actionpoints" android:layout_marginRight="10sp" />
<TextView android:text="10/10" android:id="@+id/heroinfo_ap" />
</TableRow>
<TableRow>
<TextView android:text="@string/actorinfo_movecost" android:layout_marginRight="10sp" />
<TextView android:text="6" android:id="@+id/heroinfo_movecost" />
</TableRow>
</TableLayout>
<com.gpl.rpg.AndorsTrail.view.RangeBar
android:id="@+id/heroinfo_healthbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<com.gpl.rpg.AndorsTrail.view.RangeBar
android:id="@+id/heroinfo_expbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5sp"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/actorinfo_currenttraits"
android:layout_marginTop="@dimen/section_margin"
/>
<com.gpl.rpg.AndorsTrail.view.TraitsInfoView
android:id="@+id/heroinfo_currenttraits"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<com.gpl.rpg.AndorsTrail.view.ItemEffectsView
android:id="@+id/heroinfo_itemeffects"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/actorinfo_currentconditions"
android:id="@+id/heroinfo_currentconditions_title"
android:layout_marginTop="@dimen/section_margin"
/>
<com.gpl.rpg.AndorsTrail.view.ActorConditionList
android:id="@+id/heroinfo_currentconditions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/actorinfo_basetraits"
android:layout_marginTop="@dimen/section_margin"
/>
<com.gpl.rpg.AndorsTrail.view.BaseTraitsInfoView
android:id="@+id/heroinfo_basetraits"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical">
<Button
android:id="@+id/heroinfo_levelup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/heroinfo_levelup"
/>
</LinearLayout>
</LinearLayout>