Files
andors-trail/AndorsTrail/res/layout/skill_info_view.xml
oskar.wiksten 02d5a2fac1 Fixed lots of Android lint warnings.
New graphics for red damage animation.
Added better script triggers to Mikhail's conversation while doing the bread and rats quests.
Start outline of new minor quest for v0.6.11 (sisterfight).
Re-spawn monsters that were not unique in v0.6.10 (issue 301).

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@225 08aca716-68be-ccc6-4d58-36f5abd142ac
2012-03-24 11:28:14 +00:00

84 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="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"
>
<TextView
android:id="@+id/skillinfo_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/heroinfo_skill"
style="@style/titleWithIcon"
android:drawableLeft="@drawable/ui_icon_skill"
/>
<TextView
android:text="@string/skill_current_level"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:id="@+id/skillinfo_currentlevel"
android:layout_marginBottom="@dimen/section_margin"
/>
<TextView
android:text="@string/skill_longdescription_weapon_chance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/skillinfo_longdescription"
android:layout_marginBottom="@dimen/section_margin"
/>
<TextView
android:text="@string/skill_prerequisite_other_skill"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/skillinfo_requirement"
android:layout_marginBottom="@dimen/section_margin"
/>
</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/skillinfoinfo_action"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/skillinfo_action_levelup"
/>
<Button
android:id="@+id/skillinfoinfo_close"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/dialog_close"
/>
</LinearLayout>
</LinearLayout>