fragment_info.xml
6.68 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView
android:id="@+id/fragmentInfoWeatherMiniIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_weather_mini"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_marginTop="40dp"
android:layout_marginStart="32dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:text="날씨"
android:textColor="#424241"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherMiniIcon"
app:layout_constraintBottom_toBottomOf="@+id/fragmentInfoWeatherMiniIcon"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_marginStart="65dp"
/>
<View
android:id="@+id/fragmentInfoWeatherView"
android:layout_width="0dp"
android:layout_height="100dp"
android:background="@drawable/fragment_info_view_holder"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="75dp"
android:layout_marginLeft="25dp"
android:layout_marginRight="25dp"
/>
<ImageView
android:id="@+id/fragmentInfoWeatherIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="@+id/fragmentInfoWeatherView"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherView"
app:layout_constraintBottom_toBottomOf="@+id/fragmentInfoWeatherView"
android:layout_marginStart="16dp"
android:src="@drawable/ic_weather_cloud"
/>
<TextView
android:id="@+id/fragmentInfoWeatherLocale"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="수원시"
app:layout_constraintLeft_toLeftOf="@+id/fragmentInfoWeatherView"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherView"
android:layout_marginTop="18dp"
android:layout_marginStart="90dp"
android:textColor="#FC6828"
android:textSize="20dp"
/>
<TextView
android:id="@+id/fragmentInfoCloudAmount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="흐림"
android:textSize="14sp"
android:textColor="#95989A"
app:layout_constraintLeft_toLeftOf="@+id/fragmentInfoWeatherView"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherView"
android:layout_marginTop="50dp"
android:layout_marginStart="90dp"
/>
<TextView
android:id="@+id/fragmentInfoRainPercent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="강수확률 : 10%"
android:textSize="14sp"
android:textColor="#95989A"
app:layout_constraintLeft_toLeftOf="@+id/fragmentInfoWeatherView"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherView"
android:layout_marginTop="65dp"
android:layout_marginStart="90dp"
/>
<TextView
android:id="@+id/fragmentInfoCurrentTemparature"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FC6928"
android:textSize="40dp"
android:textStyle="bold"
android:text= "21℃"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherView"
app:layout_constraintRight_toRightOf="@+id/fragmentInfoWeatherView"
android:layout_marginTop="15dp"
android:layout_marginEnd="17dp"
/>
<TextView
android:id="@+id/fragmentInfoCurrentMaxMinTemparature"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="11℃ / 22℃"
android:textSize="14sp"
android:textColor="#95989A"
app:layout_constraintTop_toTopOf="@+id/fragmentInfoWeatherView"
app:layout_constraintRight_toRightOf="@+id/fragmentInfoWeatherView"
android:layout_marginTop="64dp"
android:layout_marginEnd="22dp"
/>
<ImageView
android:id="@+id/imageViewminiAlarm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_alarm_mini"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_marginStart="32dp"
android:layout_marginTop="210dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="오늘의 일정"
android:textSize="16sp"
android:textColor="#424241"
android:layout_marginStart="65dp"
app:layout_constraintTop_toTopOf="@+id/imageViewminiAlarm"
app:layout_constraintBottom_toBottomOf="@+id/imageViewminiAlarm"
app:layout_constraintLeft_toLeftOf="parent"
/>
<View
android:layout_width="0dp"
android:layout_height="2dp"
android:background="#95989A"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageViewminiAlarm"
android:layout_marginTop="12dp"
android:layout_marginLeft="25dp"
android:layout_marginRight="25dp"
/>
<TextView
android:id="@+id/infoDateTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="7월 30일 일요일"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageViewminiAlarm"
android:layout_marginStart="27dp"
android:layout_marginTop="28dp"
/>
<android.support.v7.widget.RecyclerView
android:id="@+id/schedularRecyclerView"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageViewminiAlarm"
android:layout_marginTop="60dp"
>
</android.support.v7.widget.RecyclerView>
</android.support.constraint.ConstraintLayout>