mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Add "All" button to bulk selection interface. Do not show bulk selection interface when dropping just one item. Confirmation dialog when overwriting savegames with a new player name (thanks ejwessel) Hide critical multiplier if equal to 0 or 1. Do not trigger map events if the player moves to another tile on the same mapevent. Add LayoutParams to all dynamically generated views (reduces graphical artifacts on Motorola devices) Use wrap_content instead of match_parent as height on listviews (reduces graphical artifacts on Motorola devices) git-svn-id: https://andors-trail.googlecode.com/svn/trunk@142 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="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:padding="5dp">
|
|
<TabWidget
|
|
android:id="@android:id/tabs"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
<FrameLayout
|
|
android:id="@android:id/tabcontent"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
>
|
|
|
|
<!-- TAB 1 -->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:gravity="left"
|
|
android:id="@+id/shop_tab1"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_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/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="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- TAB 2 -->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:gravity="left"
|
|
android:id="@+id/shop_tab2"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_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/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="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</TabHost> |