<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scrollview" android:layout_width="match_parent" android:layout_height="match_parent" > <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:id="@+id/lblAddPoiHeader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Add New Point of Interest" android:textAppearance="?android:attr/textAppearanceLarge" /> <Button android:id="@+id/btnSelectImage" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Select Image" /> <ImageView android:id="@+id/imgSelectedImage" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/androidmarker" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="30dp" > <Button android:id="@+id/btnGetSAS" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Get SAS" /> </LinearLayout> <TextView android:id="@+id/lblSASDetails" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="30dp" android:text="SAS Details" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="30dp" > <Button android:id="@+id/btnSavePOI" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Save Point of Interest" /> </LinearLayout> </LinearLayout> </ScrollView>