|
|
@@ -0,0 +1,57 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?><!--启用深色模式之后,需要使用fitsSystemWindows来不让布局上滑-->
|
|
|
+
|
|
|
+<!--阴影效果android:background="?android:attr/listDivider"-->
|
|
|
+<!--<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/colorPrimary"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+</ScrollView>-->
|
|
|
+
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="@dimen/activity_horizontal_margin_ss">
|
|
|
+
|
|
|
+ <include layout="@layout/view_divider_common" />
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_get_json"
|
|
|
+ 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:minHeight="@dimen/height_tab_bar"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="@dimen/activity_horizontal_margin"
|
|
|
+ android:paddingEnd="@dimen/activity_horizontal_margin"
|
|
|
+ android:paddingTop="@dimen/margin_s"
|
|
|
+ android:paddingBottom="@dimen/margin_s"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="GetJson微服务"
|
|
|
+ android:textSize="@dimen/text_sub_title"
|
|
|
+ android:textColor="@color/black_text" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ 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:text="把JSON字符串保存到云,GET请求获取保存的JSON"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <include layout="@layout/view_divider_common" />
|
|
|
+</LinearLayout>
|