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

106 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="5dp">
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<!-- TAB 1 -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="left"
android:id="@+id/shop_tab1"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="right|center_vertical"
>
<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:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/shop_buy_gc"
/>
</LinearLayout>
<ListView
android:id="@+id/shop_buy_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
<!-- TAB 2 -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="left"
android:id="@+id/shop_tab2"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="right|center_vertical"
>
<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:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/shop_sell_gc"
/>
</LinearLayout>
<ListView
android:id="@+id/shop_sell_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
</FrameLayout>
</LinearLayout>
</TabHost>