226 lines
11 KiB
XML
226 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:background="@color/color_FFFFFF"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:id="@+id/container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:id="@+id/xl_selected"
|
|
android:background="@drawable/rectangle_default"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp35"
|
|
android:layout_marginTop="@dimen/dp20"
|
|
android:layout_marginRight="@dimen/dp39"
|
|
android:layout_below="@+id/card_email"
|
|
android:layout_centerHorizontal="true">
|
|
<TextView
|
|
android:textSize="@dimen/dp28"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/bg_596F80"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp39"
|
|
android:text="@string/feedback_type"/>
|
|
<com.ubt.jimu.widgets.FeedBackTypeLayout
|
|
android:id="@+id/feedback_type"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp60"
|
|
android:layout_marginLeft="@dimen/dp51"/>
|
|
</LinearLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/card_email"
|
|
android:layout_below="@+id/nbv_bar"
|
|
style="@style/setting_feedback_email_infragment">
|
|
<LinearLayout
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:id="@+id/xl_email"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true">
|
|
<TextView
|
|
android:textSize="@dimen/dp28"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/bg_596F80"
|
|
android:id="@+id/contact_desc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp39"
|
|
android:text="@string/feedback_contact_way"/>
|
|
<EditText
|
|
android:textSize="@dimen/dp25"
|
|
android:textColor="@color/bg_96A6B4"
|
|
android:textColorHint="@color/txt_98A5B6"
|
|
android:id="@+id/et_email"
|
|
android:background="@color/translucent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp49"
|
|
android:layout_marginRight="@dimen/dp40"
|
|
android:hint="@string/setting_input_email"
|
|
android:singleLine="true"
|
|
android:inputType="text"
|
|
android:imeOptions="flagNoFullscreen|actionNext"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/card_external"
|
|
android:background="@drawable/rectangle_default"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp35"
|
|
android:layout_marginTop="@dimen/dp20"
|
|
android:layout_marginRight="@dimen/dp39"
|
|
android:layout_below="@+id/xl_selected"
|
|
android:layout_centerHorizontal="true">
|
|
<LinearLayout
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true">
|
|
<TextView
|
|
android:textSize="@dimen/dp28"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/bg_596F80"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp39"
|
|
android:text="@string/feedback_jimu_enternal"/>
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp28">
|
|
<ImageView
|
|
android:id="@+id/external_icon"
|
|
android:visibility="gone"
|
|
android:layout_width="@dimen/dp53"
|
|
android:layout_height="@dimen/dp60"
|
|
android:scaleType="center"/>
|
|
<TextView
|
|
android:textSize="@dimen/dp28"
|
|
android:textColor="@color/bg_96A6B4"
|
|
android:id="@+id/external_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/dp30"
|
|
android:src="@drawable/arrow_setting_right"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/card_feedback"
|
|
android:background="@drawable/bg_community_diy"
|
|
android:paddingLeft="@dimen/dp39"
|
|
android:paddingRight="@dimen/dp39"
|
|
android:paddingBottom="@dimen/dp25"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp35"
|
|
android:layout_marginTop="@dimen/dp20"
|
|
android:layout_marginRight="@dimen/dp39"
|
|
android:layout_below="@+id/card_external"
|
|
android:layout_centerHorizontal="true">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:id="@+id/xl_feedback"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/common_8dp"
|
|
android:layout_centerHorizontal="true">
|
|
<TextView
|
|
android:textSize="@dimen/dp28"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/bg_596F80"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp5"
|
|
android:text="@string/setting_feedback"/>
|
|
<EditText
|
|
android:textSize="@dimen/dp28"
|
|
android:textColor="@color/bg_596F80"
|
|
android:textColorHint="@color/txt_98A5B6"
|
|
android:gravity="top"
|
|
android:id="@+id/et_feedback"
|
|
android:background="@color/translucent"
|
|
android:paddingTop="@dimen/dp24"
|
|
android:paddingBottom="@dimen/dp20"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/setting_input_something"
|
|
android:maxLength="500"
|
|
android:imeOptions="flagNoFullscreen|actionSend"/>
|
|
</LinearLayout>
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/icon_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp18"
|
|
android:layout_marginTop="@dimen/dp20"
|
|
android:layout_below="@+id/xl_feedback"/>
|
|
</RelativeLayout>
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/card_feedback">
|
|
<com.ubtech.view.widget.UButton
|
|
android:layout_gravity="center"
|
|
android:id="@+id/xl_send"
|
|
android:text="@string/setting_send"
|
|
android:layout_centerHorizontal="true"
|
|
style="@style/btn_blue_middle_style"/>
|
|
</FrameLayout>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/success_view"
|
|
android:background="@color/color_FFFFFF"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<ImageView
|
|
android:id="@+id/feedback_complete"
|
|
android:layout_width="@dimen/dp159"
|
|
android:layout_height="@dimen/dp159"
|
|
android:layout_marginTop="@dimen/dp141"
|
|
android:src="@drawable/feedback_complete"
|
|
android:layout_centerHorizontal="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/dp28"
|
|
android:id="@+id/feedback_complete_desc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp41"
|
|
android:text="@string/feedback_complete_desc"
|
|
android:layout_below="@+id/feedback_complete"
|
|
android:layout_centerHorizontal="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/dp30"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/bg_FFFFFF"
|
|
android:gravity="center"
|
|
android:id="@+id/feedback_complete_sure"
|
|
android:background="@drawable/shape_feedback_complete"
|
|
android:layout_width="@dimen/dp394"
|
|
android:layout_height="@dimen/dp90"
|
|
android:layout_marginTop="@dimen/dp197"
|
|
android:text="@string/i_got_it"
|
|
android:layout_below="@+id/feedback_complete_desc"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</ScrollView>
|