a
554325746@qq.com
2019-12-25 603cb36a5123e46656b06a5deb8d7ac7ff81307f
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/fragment_home"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <!--空状态-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
        <!--<LinearLayout-->
        <!--android:layout_width="match_parent"-->
        <!--android:layout_height="0dp"-->
        <!--android:layout_weight="635"-->
        <!--android:orientation="vertical">-->
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="635">
 
            <ImageView
                android:id="@+id/weather_image_view"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop"
                android:src="@drawable/sunny" />
 
            <LinearLayout
                android:layout_width="@dimen/w520"
                android:layout_height="@dimen/h370"
                android:layout_marginLeft="@dimen/w19"
                android:layout_marginTop="@dimen/h22"
                android:background="#20111111"
                android:orientation="vertical">
 
                <ImageView
                    android:id="@+id/weather_icon"
                    android:layout_width="@dimen/w160"
                    android:layout_height="@dimen/w160"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="@dimen/h22" />
 
                <TextView
                    android:id="@+id/temp"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginTop="@dimen/h10"
                    android:text="天气预报加载中..."
                    android:textColor="#e6e6fa"
                    android:textSize="@dimen/h54" />
 
                <TextView
                    android:id="@+id/address"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/w80"
                    android:layout_marginTop="@dimen/h20"
                    android:textColor="#e6e6fa"
                    android:textSize="@dimen/h28" />
 
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/h8"
                    android:orientation="horizontal">
 
                    <TextView
                        android:id="@+id/wind"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="@dimen/w80"
                        android:textColor="#e6e6fa"
                        android:textSize="@dimen/h28" />
 
                    <TextView
                        android:id="@+id/wind_class"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="@dimen/w80"
                        android:textColor="#e6e6fa"
                        android:textSize="@dimen/h28" />
                </LinearLayout>
            </LinearLayout>
        </RelativeLayout>
 
        <TextView
            android:layout_width="match_parent"
            android:layout_height="@dimen/h20" />
 
        <TextView
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="520"
            android:visibility="invisible" />
    </LinearLayout>
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/h20"
        android:orientation="vertical"
        android:visibility="invisible">
 
        <com.basic.security.widget.Button1
            android:id="@+id/test1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="1" />
 
        <com.basic.security.widget.Button1
            android:id="@+id/test2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="2" />
 
        <com.basic.security.widget.Button1
            android:id="@+id/test3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="3" />
    </LinearLayout>
</RelativeLayout>