haijiang
2018-07-10 487102118041896810e4657a37eaab43a8998bc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@mipmap/bg"
    android:fitsSystemWindows="true"
    android:orientation="vertical">
    <include layout="@layout/top_bar_layout"/>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_marginLeft="@dimen/x8"
        android:layout_marginRight="@dimen/x8"
        android:layout_marginTop="@dimen/x20"
        android:padding="@dimen/x10"
        android:background="@mipmap/bg_chart">
        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:gravity="center_vertical"
            android:orientation="horizontal">
            <ImageView
                android:layout_width="@dimen/x10"
                android:layout_height="@dimen/x10"
                android:src="@mipmap/icon_yuan"/>
            <TextView
                android:id="@+id/tv_sub"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textColor="@color/white"
                android:textSize="16sp"
                android:layout_gravity="center_horizontal"
                android:text="PM2.5走势图"
                android:layout_marginRight="@dimen/x4"
                android:layout_marginLeft="@dimen/x4"
                />
            <ImageView
                android:layout_width="@dimen/x10"
                android:layout_height="@dimen/x10"
                android:src="@mipmap/icon_xia"/>
        </LinearLayout>
 
        <lecho.lib.hellocharts.view.LineChartView
            android:id="@+id/chart"
            android:layout_width="match_parent"
            android:layout_marginTop="@dimen/x8"
            android:layout_height="@dimen/y300">
        </lecho.lib.hellocharts.view.LineChartView>
    </LinearLayout>
 
</LinearLayout>