Blame view

app/src/main/res/layout/fragment_history_content.xml 9.62 KB
7f095a929   chudinhbka@gmail.com   Create GIT Project
1
2
3
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:appNs="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
6b038e443   Dinh Chu   update
4
      android:layout_height="match_parent">
7f095a929   chudinhbka@gmail.com   Create GIT Project
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
  
      <ScrollView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_above="@+id/ll_stepType"
          android:layout_alignParentStart="true"
          android:layout_alignParentTop="true">
  
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical">
  
              <LinearLayout
                  android:id="@+id/layout_top"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="vertical">
  
                  <RelativeLayout
                      android:id="@+id/layout_date_controll"
                      android:layout_width="match_parent"
                      android:layout_height="44dp"
                      android:layout_alignParentTop="true"
                      android:gravity="center_vertical">
  
                      <ImageButton
                          android:id="@+id/btn_left_date"
                          android:layout_width="44dp"
                          android:layout_height="44dp"
                          android:layout_alignParentLeft="true"
                          android:layout_centerVertical="true"
                          android:layout_marginLeft="16dp"
                          android:background="@android:color/darker_gray"
                          android:padding="8dp"
                          android:scaleType="fitCenter"
                          android:src="@drawable/ic_left_arrow" />
  
                      <TextView
                          android:id="@+id/tv_date"
                          android:layout_width="wrap_content"
                          android:layout_height="match_parent"
                          android:layout_toRightOf="@+id/btn_left_date"
                          android:background="@android:color/white"
                          android:gravity="center_vertical"
                          android:padding="8dp"
                          android:text="2017年1月1日"
                          android:textColor="@android:color/black"
                          android:textSize="18sp" />
  
                      <TextView
                          android:id="@+id/tv_week_day"
                          android:layout_width="match_parent"
                          android:layout_height="match_parent"
                          android:layout_toLeftOf="@+id/btn_right_date"
                          android:layout_toRightOf="@+id/tv_date"
                          android:background="@android:color/white"
                          android:gravity="center"
                          android:text="日曜日"
                          android:textColor="@android:color/black"
                          android:textSize="18sp" />
  
                      <ImageButton
                          android:id="@+id/btn_right_date"
                          android:layout_width="44dp"
                          android:layout_height="44dp"
                          android:layout_alignParentRight="true"
                          android:layout_centerVertical="true"
                          android:layout_marginRight="16dp"
                          android:background="@android:color/darker_gray"
                          android:padding="8dp"
                          android:scaleType="fitCenter"
                          android:src="@drawable/ic_right_arrow" />
                  </RelativeLayout>
  
                  <LinearLayout
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginTop="20dp"
                      android:orientation="horizontal"
                      android:weightSum="5">
  
                      <Button
                          android:id="@+id/btn_oneDay"
                          style="@style/button_normal_style"
                          android:layout_width="0dp"
                          android:layout_height="match_parent"
                          android:layout_weight="1"
                          android:background="@drawable/button_background"
                          android:text="@string/one_day" />
  
                      <Button
                          android:id="@+id/btn_oneWeek"
                          style="@style/button_normal_style"
                          android:layout_width="0dp"
                          android:layout_height="match_parent"
                          android:layout_weight="1"
                          android:background="@drawable/button_background"
                          android:text="@string/one_week" />
  
                      <Button
                          android:id="@+id/btn_oneMonth"
                          style="@style/button_normal_style"
                          android:layout_width="0dp"
                          android:layout_height="match_parent"
                          android:layout_weight="1"
                          android:background="@drawable/button_background"
                          android:text="@string/one_month" />
  
                      <Button
                          android:id="@+id/btn_threeMonth"
                          style="@style/button_normal_style"
                          android:layout_width="0dp"
                          android:layout_height="match_parent"
                          android:layout_weight="1"
                          android:background="@drawable/button_background"
                          android:text="@string/three_month" />
  
                      <Button
                          android:id="@+id/btn_sixMonth"
                          style="@style/button_normal_style"
                          android:layout_width="0dp"
                          android:layout_height="match_parent"
                          android:layout_weight="1"
                          android:background="@drawable/button_background"
                          android:text="@string/six_month" />
  
                  </LinearLayout>
              </LinearLayout>
  
              <LinearLayout
                  android:id="@+id/rcv_rank"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:layout_above="@+id/layout_bottom"
                  android:layout_below="@+id/layout_top"
                  android:orientation="vertical">
6b038e443   Dinh Chu   update
143
                  <include layout="@layout/history_page_7_content" />
7f095a929   chudinhbka@gmail.com   Create GIT Project
144
145
146
147
  
                  <LinearLayout
                      android:layout_width="match_parent"
                      android:layout_height="120dp"
6b038e443   Dinh Chu   update
148
149
                      android:layout_marginTop="10dp"
                      android:orientation="vertical">
7f095a929   chudinhbka@gmail.com   Create GIT Project
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
  
                      <!--<org.eazegraph.lib.charts.BarChart-->
                      <!--xmlns:eaze="http://schemas.android.com/apk/res-auto"-->
                      <!--android:id="@+id/bargraph"-->
                      <!--android:layout_width="match_parent"-->
                      <!--android:layout_height="120dp"-->
                      <!--android:layout_below="@+id/averageandtotaltext"-->
                      <!--eaze:egLegendHeight="0dp"-->
                      <!--eaze:egShowValues="false" />-->
                      <com.github.mikephil.charting.charts.BarChart
                          android:id="@+id/chart"
                          android:layout_width="match_parent"
                          android:layout_height="match_parent" />
  
  
                  </LinearLayout>
  
  
              </LinearLayout>
  
              <LinearLayout
                  android:id="@+id/layout_bottom"
                  android:layout_width="match_parent"
6b038e443   Dinh Chu   update
173
174
                  android:layout_height="wrap_content"
                  android:gravity="right"
7f095a929   chudinhbka@gmail.com   Create GIT Project
175
176
                  android:orientation="horizontal"
                  android:weightSum="5">
6b038e443   Dinh Chu   update
177
178
  
                  <ImageView
7f095a929   chudinhbka@gmail.com   Create GIT Project
179
                      android:id="@+id/btn_face"
6b038e443   Dinh Chu   update
180
181
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
5520a4b27   Dinh Chu   update
182
                      android:layout_margin="2dp"
6b038e443   Dinh Chu   update
183
184
                      android:adjustViewBounds="true"
                      android:background="@drawable/face_ic" />
7f095a929   chudinhbka@gmail.com   Create GIT Project
185

6b038e443   Dinh Chu   update
186
187
  
                  <ImageView
7f095a929   chudinhbka@gmail.com   Create GIT Project
188
                      android:id="@+id/btn_twitter"
6b038e443   Dinh Chu   update
189
190
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
5520a4b27   Dinh Chu   update
191
                      android:layout_margin="2dp"
6b038e443   Dinh Chu   update
192
193
                      android:adjustViewBounds="true"
                      android:background="@drawable/f2_ic" />
7f095a929   chudinhbka@gmail.com   Create GIT Project
194

6b038e443   Dinh Chu   update
195
                  <ImageView
7f095a929   chudinhbka@gmail.com   Create GIT Project
196
                      android:id="@+id/btn_line"
6b038e443   Dinh Chu   update
197
198
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
5520a4b27   Dinh Chu   update
199
                      android:layout_margin="2dp"
6b038e443   Dinh Chu   update
200
201
                      android:adjustViewBounds="true"
                      android:background="@drawable/twitter_ic" />
7f095a929   chudinhbka@gmail.com   Create GIT Project
202

6b038e443   Dinh Chu   update
203
                  <ImageView
7f095a929   chudinhbka@gmail.com   Create GIT Project
204
                      android:id="@+id/btn_email"
6b038e443   Dinh Chu   update
205
206
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
5520a4b27   Dinh Chu   update
207
                      android:layout_margin="2dp"
6b038e443   Dinh Chu   update
208
209
                      android:adjustViewBounds="true"
                      android:background="@drawable/mail_ic" />
7f095a929   chudinhbka@gmail.com   Create GIT Project
210

6b038e443   Dinh Chu   update
211
                  <ImageView
7f095a929   chudinhbka@gmail.com   Create GIT Project
212
                      android:id="@+id/btn_other"
6b038e443   Dinh Chu   update
213
214
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
5520a4b27   Dinh Chu   update
215
                      android:layout_margin="2dp"
6b038e443   Dinh Chu   update
216
217
                      android:adjustViewBounds="true"
                      android:background="@drawable/other_ic" />
7f095a929   chudinhbka@gmail.com   Create GIT Project
218
219
220
221
222
223
224
225
  
              </LinearLayout>
  
          </LinearLayout>
      </ScrollView>
  
      <include layout="@layout/type_step" />
  </RelativeLayout>