|
@@ -0,0 +1,88 @@
|
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ android:id="@+id/ll_search"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@color/white"
|
|
|
|
|
+ android:focusable="true"
|
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <include layout="@layout/view_toolbar" />
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:id="@+id/fl_json_url"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@color/white"
|
|
|
|
|
+ android:foreground="?attr/selectableItemBackground">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:minHeight="@dimen/height_tab_bar"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:paddingStart="@dimen/activity_horizontal_margin"
|
|
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
|
|
+ android:paddingEnd="@dimen/activity_horizontal_margin"
|
|
|
|
|
+ android:paddingBottom="@dimen/margin_s">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="你的专属GET链接(点击复制)"
|
|
|
|
|
+ android:textColor="@color/black_text_comfortable"
|
|
|
|
|
+ android:textSize="@dimen/text_sub_title"
|
|
|
|
|
+ android:textStyle="bold"/>
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_json_url"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/margin_sss"
|
|
|
|
|
+ android:textColor="@color/gray_text_s"
|
|
|
|
|
+ android:textSize="@dimen/text_normal_s"
|
|
|
|
|
+ android:maxLines="2"
|
|
|
|
|
+ android:ellipsize="end"/>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <include layout="@layout/view_divider_common" />
|
|
|
|
|
+
|
|
|
|
|
+ <EditText
|
|
|
|
|
+ android:id="@+id/et_json"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@null"
|
|
|
|
|
+ android:gravity="start"
|
|
|
|
|
+ android:hint="请输入要提交到云端的JSON字符串(本客户端不校验JSON字符串格式)"
|
|
|
|
|
+ android:minHeight="@dimen/height_tab_bar"
|
|
|
|
|
+ android:padding="@dimen/margin_default"
|
|
|
|
|
+ android:textAllCaps="false"
|
|
|
|
|
+ android:textColor="@color/black_text_comfortable"
|
|
|
|
|
+ android:textColorHint="@color/gray_text_hint"
|
|
|
|
|
+ android:textSize="@dimen/text_normal_p" />
|
|
|
|
|
+
|
|
|
|
|
+ <include layout="@layout/view_divider_common" />
|
|
|
|
|
+
|
|
|
|
|
+ <android.widget.Button
|
|
|
|
|
+ android:id="@+id/btn_save_json"
|
|
|
|
|
+ style="?android:attr/borderlessButtonStyle"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginStart="@dimen/margin_default"
|
|
|
|
|
+ android:layout_marginTop="@dimen/margin_default"
|
|
|
|
|
+ android:layout_marginEnd="@dimen/margin_default"
|
|
|
|
|
+ android:layout_marginBottom="@dimen/margin_default"
|
|
|
|
|
+ android:background="@drawable/selector_btn"
|
|
|
|
|
+ android:minHeight="0dp"
|
|
|
|
|
+ android:paddingTop="@dimen/padding_full_width"
|
|
|
|
|
+ android:paddingBottom="@dimen/padding_full_width"
|
|
|
|
|
+ android:text="保存JSON字符串到云端"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
+</LinearLayout>
|