|
|
@@ -1,62 +1,76 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout
|
|
|
- android:orientation="vertical"
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
- <HorizontalScrollView
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:fillViewport="true"
|
|
|
- android:scrollbars="none"
|
|
|
- >
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:scrollbars="none">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <com.github.mikephil.charting.charts.LineChart
|
|
|
- android:id="@+id/lineChart"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <HorizontalScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:fillViewport="true"
|
|
|
+ android:scrollbars="none"
|
|
|
+ >
|
|
|
+ <LinearLayout
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <com.github.mikephil.charting.charts.LineChart
|
|
|
+ android:id="@+id/lineChart"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:padding="20dp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </HorizontalScrollView>
|
|
|
+ <TextView
|
|
|
+ android:background="@color/bg_gray"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingLeft="14dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:text="运行明细"
|
|
|
+ android:textColor="@color/gray_333"
|
|
|
+ android:textSize="15dp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_list"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"/>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_no_data"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="200dp"
|
|
|
- android:padding="20dp" />
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/tv_security"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:src="@drawable/home_security" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_safe"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:text="暂无消息"
|
|
|
+ android:textColor="#444"
|
|
|
+ android:textSize="15sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
- </HorizontalScrollView>
|
|
|
- <TextView
|
|
|
- android:background="@color/bg_gray"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingLeft="14dp"
|
|
|
- android:paddingTop="10dp"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- android:text="运行明细"
|
|
|
- android:textColor="@color/gray_333"
|
|
|
- android:textSize="15dp"
|
|
|
- android:textStyle="bold" />
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/rv_list"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"/>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_no_data"
|
|
|
- android:visibility="gone"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
- <ImageView
|
|
|
- android:id="@+id/tv_security"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:src="@drawable/home_security" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_safe"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:text="暂无消息"
|
|
|
- android:textColor="#444"
|
|
|
- android:textSize="15sp" />
|
|
|
- </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
|
|
|
</LinearLayout>
|