Files
andors-trail/AndorsTrail/res/layout/monsterinfo.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

107 lines
3.3 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"
>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/dialog_margin"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
>
<ImageView
android:id="@+id/monsterinfo_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/monsterinfo_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Monster"
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/actorinfo_difficulty" android:layout_marginRight="10sp" />
<TextView android:id="@+id/monsterinfo_difficulty" />
</TableRow>
</TableLayout>
<com.gpl.rpg.AndorsTrail.view.RangeBar
android:id="@+id/monsterinfo_healthbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/section_margin"
/>
<com.gpl.rpg.AndorsTrail.view.TraitsInfoView
android:id="@+id/monsterinfo_currenttraits"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<com.gpl.rpg.AndorsTrail.view.ItemEffectsView
android:id="@+id/monsterinfo_onhiteffects"
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/monsterinfo_currentconditions_title"
android:layout_marginTop="@dimen/section_margin"
/>
<com.gpl.rpg.AndorsTrail.view.ActorConditionList
android:id="@+id/monsterinfo_currentconditions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
</ScrollView>
<!-- Workaround http://code.google.com/p/andors-trail/issues/detail?id=242 -->
<ListView android:layout_width="match_parent" android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
style="@android:style/ButtonBar"
>
<Button
android:id="@+id/monsterinfo_close"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/dialog_close"
android:layout_alignParentRight="true"
/>
</LinearLayout>
</LinearLayout>