<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent" android:weightSum="1">
    <EditText 
	    android:layout_height="wrap_content" 
	    android:id="@+id/addphoto_filename" 
	    android:hint="@string/addphoto_filename_hint"
	    android:layout_width="match_parent">
        <requestFocus></requestFocus>
    </EditText>
    <EditText 
	    android:layout_height="wrap_content" 
	    android:id="@+id/addphoto_description"
	    android:hint="@string/addphoto_description_hint" 
	    android:layout_width="match_parent" 
	    android:inputType="textMultiLine" 
	    android:layout_weight="0.20"></EditText>
	    <!--
    <Spinner 
    	android:layout_height="wrap_content" 
    	android:layout_width="match_parent" 
    	android:id="@+id/addphoto_type"></Spinner>
	<Button 
	    android:layout_height="wrap_content" 
	    android:text="@string/addphoto_file" 
	    android:id="@+id/addphoto_file" 
	    android:layout_width="match_parent"></Button>
	     -->
	<LinearLayout
	  xmlns:android="http://schemas.android.com/apk/res/android"
	  android:orientation="horizontal"
	  android:layout_width="match_parent"
	  android:layout_height="match_parent">
		<Button 
		    android:layout_height="wrap_content" 
		    android:text="@string/addphoto_camera" 
		    android:id="@+id/addphoto_camera" 
		    android:layout_width="wrap_content"></Button>
		<Button 
		    android:layout_height="wrap_content" 
		    android:text="@string/addphoto_upload" 
		    android:visibility="gone"
		    android:id="@+id/addphoto_upload" 
		    android:layout_width="wrap_content"></Button>
	</LinearLayout>
    <LinearLayout 
		android:id="@+id/addphoto_image_container"
		android:visibility="gone"
		android:orientation="vertical" 
		android:layout_width="fill_parent"
		android:layout_weight="1" 
		android:layout_height="wrap_content"
		android:background="#8C8A8C">
		<ImageView 
		   android:id="@+id/addphoto_image"
		   android:layout_width="300dip"
		   android:layout_height="300dip"
		   android:layout_gravity="center_horizontal"
		   />
	</LinearLayout>
	
    
</LinearLayout>
</ScrollView>