<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.mapps.seproject.ComposeFragment">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_compose_mail"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
   >

    <Spinner
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/spSelectCitiy"
        android:layout_marginTop="11dp"
        android:layout_alignParentTop="true"
        android:layout_alignParentStart="true" />

    <Button
        android:text="Compose Email"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/bComposeMail"
        android:layout_alignParentBottom="true"
        android:layout_alignParentStart="true"
        android:layout_marginBottom="16dp"
        android:layout_alignParentEnd="true" />

    <Button
        android:text="Add Image"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/bAddImage"
        android:layout_above="@+id/bComposeMail"
        android:layout_alignParentStart="true" />

    <EditText
        android:layout_width="match_parent"
        android:inputType="textPersonName"
        android:ems="10"
        android:id="@+id/tvEmailMessage"
        android:visibility="visible"
        android:layout_height="280dp"
        android:layout_above="@+id/bAddImage"
        android:layout_alignParentStart="true"
        android:layout_marginBottom="19dp"
        android:hint="Enter your complaint here" />

    <Button
        android:id="@+id/button2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@+id/tvEmailMessage"
        android:layout_centerHorizontal="true"
        android:text="Get Location" />


</RelativeLayout>
    </FrameLayout>