Files
andors-trail/AndorsTrail/res/layout/heroinfo_statsicons.xml
oskar.wiksten 6f4f466c1f Refactor: Made sure that IDs are used where applicable, instead of names (in particular with regards to MonsterType)
Refactor: Reduce dependencies from Phrase object (changed Droplist property into id instead of actual object)
Refactor: Renamed some images to maintain filename naming scheme.
Bugfix: Conversation editor did not guess new phrase ids correctly.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@157 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-14 11:52:19 +00:00

83 lines
2.4 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="wrap_content"
android:orientation="vertical"
android:gravity="right"
>
<LinearLayout
android:layout_width="@dimen/boxshape_width"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/ui_boxshape"
android:layout_margin="@dimen/boxshape_margin"
android:padding="@dimen/boxshape_margin"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ui_icon_coins"
android:layout_marginRight="@dimen/boxshape_margin"
/>
<TextView
android:id="@+id/heroinfo_stats_gold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/smalltext"
android:text="Gold: 0"
/>
</LinearLayout>
<LinearLayout
android:layout_width="@dimen/boxshape_width"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/ui_boxshape"
android:layout_margin="@dimen/boxshape_margin"
android:padding="@dimen/boxshape_margin"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/equip_weapon"
android:layout_marginRight="@dimen/boxshape_margin"
/>
<TextView
android:id="@+id/heroinfo_stats_attack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/smalltext"
android:text="Atk: "
/>
</LinearLayout>
<LinearLayout
android:layout_width="@dimen/boxshape_width"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:background="@drawable/ui_boxshape"
android:layout_margin="@dimen/boxshape_margin"
android:padding="@dimen/boxshape_margin"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/equip_shield"
android:layout_marginRight="@dimen/boxshape_margin"
/>
<TextView
android:id="@+id/heroinfo_stats_defense"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/smalltext"
android:text="Def: "
/>
</LinearLayout>
</LinearLayout>