<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    android:orientation="vertical"
    android:background="@color/bg_gray"
    android:fitsSystemWindows="true"
    tools:context="com.sheep.gamegroup.view.activity.FeedbackAct">

    <ScrollView
        android:layout_below="@id/title"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scrollbars="none">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:padding="@dimen/common_margin_10">

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
                android:padding="@dimen/common_margin_10">
                <TextView
                    android:id="@+id/feedbook_notice_top_tv"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="@string/feedback_notice_hellow"
                    style="@style/txt_style_15_black"
                    android:textSize="@dimen/text_size_3"
                    android:textColor="@color/gray_4"/>
                <TextView
                    android:id="@+id/feedbook_notice_end_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/feedback_notice_end"
                    style="@style/txt_style_15_black"
                    android:textSize="@dimen/text_size_3"
                    android:textColor="@color/gray_4"
                    android:layout_below="@+id/feedbook_notice_top_tv"
                    android:layout_alignParentEnd="true"
                    android:layout_marginTop="@dimen/content_padding_15"/>

                <android.support.design.widget.TextInputEditText
                    android:id="@+id/feedbook_et"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:minHeight="@dimen/view_size_130"
                    android:layout_below="@+id/feedbook_notice_end_tv"
                    android:layout_marginTop="@dimen/content_padding"
                    android:hint="@string/feedback_notice_input_advice"
                    android:gravity="top"
                    android:text=""
                    style="@style/edt_style_gray"
                    android:layout_marginBottom="@dimen/content_padding_20"/>
                <LinearLayout
                    android:id="@+id/feedbook_qq_layout"
                    android:layout_below="@+id/feedbook_et"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:gravity="center_vertical">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        style="@style/txt_style_15_black"
                        android:textSize="@dimen/text_size_12"
                        android:text="@string/contact_qq"
                        android:layout_gravity="center_vertical"/>

                    <android.support.design.widget.TextInputEditText
                        android:id="@+id/feedbook_qq_et"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="5dp"
                        android:hint="@string/feedback_notice_input_qq"
                        android:gravity="top"
                        android:text=""
                        android:lines="2"
                        android:inputType="textEmailAddress"
                        style="@style/edt_style_gray"
                        android:layout_gravity="center_vertical"/>
                </LinearLayout>
                <LinearLayout
                    android:id="@+id/feedbook_email_layout"
                    android:layout_below="@+id/feedbook_qq_layout"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:gravity="center_vertical"
                    android:layout_marginTop="@dimen/content_padding_8">
                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        style="@style/txt_style_15_black"
                        android:textSize="@dimen/text_size_12"
                        android:text="@string/contact_email"
                        android:layout_gravity="center_vertical"/>

                    <android.support.design.widget.TextInputEditText
                        android:id="@+id/feedbook_email_et"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="5dp"
                        android:hint="@string/feedback_notice_input_email_address"
                        android:gravity="top"
                        android:text=""
                        android:lines="2"
                        android:inputType="textEmailAddress"
                        style="@style/edt_style_gray"
                        android:layout_gravity="center_vertical"/>
                </LinearLayout>

                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    style="@style/nomal_txt_style"
                    android:text="@string/input_notice_feedback"
                    android:layout_below="@+id/feedbook_email_layout"
                    android:layout_marginBottom="@dimen/content_padding_10"
                    android:layout_marginTop="@dimen/content_padding_10"/>
            </RelativeLayout>
            <TextView
                android:id="@+id/tv_submit"
                style="@style/style_button_no_margin"
                android:layout_marginTop="@dimen/view_size_30"
                android:text="提交建议" />

        </LinearLayout>
    </ScrollView>

    <com.kfzs.duanduan.view.DragRelativeLayout
        android:layout_width="50dp"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_alignParentBottom="true"
        android:onClick="onClickContactQQ"
        android:layout_marginEnd="13dp"
        android:layout_marginBottom="100dp"
        android:gravity="center"
        android:paddingTop="@dimen/content_padding_10"
        android:paddingBottom="@dimen/content_padding_10">

        <ImageView
            android:id="@+id/contact_qq_iv"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:src="@drawable/icon"
            android:adjustViewBounds="true"
            android:scaleType="fitXY" />
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/contact_kf"
            android:textColor="@color/black_6_3"
            android:layout_below="@id/contact_qq_iv"
            android:textSize="12sp"/>
    </com.kfzs.duanduan.view.DragRelativeLayout>
</RelativeLayout>
