mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
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
106 lines
2.8 KiB
XML
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> |