<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent"
	android:layout_height="fill_parent"
	android:orientation="vertical"
	>
	<LinearLayout
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:orientation="vertical"
		android:padding="@dimen/dialog_margin"
		>
		<LinearLayout
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:orientation="horizontal"
			android:gravity="center_vertical"
			>
			<ImageView 
				android:id="@+id/iteminfo_image"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:src="@drawable/equip_weapon" 
				android:paddingRight="@dimen/dialog_iconpadding_right"
				android:paddingBottom="@dimen/dialog_iconpadding_bottom"
				/>
			<TextView
				android:id="@+id/iteminfo_title"
				android:layout_width="fill_parent"
				android:layout_height="wrap_content"
				android:text="Item" 
				android:textSize="@dimen/titletext"
				/>
		</LinearLayout>
	
		<LinearLayout
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:orientation="horizontal"
			android:gravity="center_vertical"
			android:layout_marginBottom="@dimen/section_margin"
			>
			<TextView 
				android:text="@string/iteminfo_category" 
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				/>
			<TextView 
				android:id="@+id/iteminfo_category"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				/>
		</LinearLayout>
		
		<TextView 
			android:id="@+id/iteminfo_description"
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:layout_marginBottom="@dimen/section_margin"
			/>
		
		<com.gpl.rpg.AndorsTrail.view.TraitsInfoView
			android:id="@+id/iteminfo_traits"
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			/>
	</LinearLayout>

	<LinearLayout
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:orientation="horizontal"
		style="@android:style/ButtonBar"
		>
		<Button 
			android:id="@+id/iteminfo_action"
			android:layout_width="0dip"
            android:layout_weight="1"
            android:layout_height="wrap_content"
			android:text="@string/iteminfo_action_use"
			/>
			
		<Button 
			android:id="@+id/iteminfo_close"
			android:layout_width="0dip"
			android:layout_weight="1"
			android:layout_height="wrap_content"
			android:text="@string/dialog_close"
			/>
	</LinearLayout>
</LinearLayout>
