Blame view

app/src/main/res/layout/fragment_top_date.xml 6.16 KB
7f095a929   chudinhbka@gmail.com   Create GIT Project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:appNs="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/background_main">
  
      <ScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_alignParentTop="true"
          android:layout_alignParentStart="true">
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:padding="10dp">
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal">
  
                  <ImageView
0c1f9bf91   Dinh Chu   update top handle
25
                      android:id="@+id/iv_toDay"
7f095a929   chudinhbka@gmail.com   Create GIT Project
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
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:src="@drawable/add_ic" />
  
                  <LinearLayout
                      android:layout_width="0dp"
                      android:layout_height="wrap_content"
                      android:layout_weight="1.0"
                      android:orientation="horizontal"
                      android:paddingTop="10dp">
  
                      <ImageView
                          android:id="@+id/iv_back"
                          android:layout_width="@dimen/next_date_height"
                          android:layout_height="@dimen/next_date_height"
                          android:src="@drawable/back_ic" />
  
                      <TextView
                          android:id="@+id/tv_date"
                          android:layout_width="0dp"
                          android:layout_height="match_parent"
                          android:layout_weight="1.0"
                          android:gravity="center"
                          android:text="2017年1月1日"
                          android:textColor="@color/white"
                          android:textSize="21sp" />
  
                      <ImageView
                          android:id="@+id/iv_next"
                          android:layout_width="@dimen/next_date_height"
                          android:layout_height="@dimen/next_date_height"
                          android:src="@drawable/next_ic" />
  
                  </LinearLayout>
  
              </LinearLayout>
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:gravity="right"
                  android:paddingTop="10dp">
  
                  <TextView
                      android:id="@+id/tv_step"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="12,345"
                      android:textColor="@color/white"
                      android:textSize="60sp"/>
  
                  <TextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="@string/step"
                      android:textColor="@color/white"
                      android:textSize="40sp"
                      android:paddingLeft="10dp"/>
  
              </LinearLayout>
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:gravity="right">
  
                  <TextView
                      android:id="@+id/textView"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="@string/remaining_number_step"
                      android:textColor="@color/white"
                      android:textSize="16sp" />
  
                  <TextView
                      android:id="@+id/tv_remainingStep"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="12,345"
                      android:textColor="@color/white"
                      android:textSize="16sp"
                      android:paddingLeft="10dp"/>
  
              </LinearLayout>
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"
                  android:gravity="right">
  
                  <TextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="@string/achiverment_rate"
                      android:textColor="@color/white"
                      android:textSize="16sp"/>
  
                  <TextView
                      android:id="@+id/tv_completeRate"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="12%"
                      android:textColor="@color/white"
                      android:textSize="16sp"
                      android:paddingLeft="10dp"/>
  
              </LinearLayout>
  
              <LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="vertical"
                  android:paddingTop="50dp">
  
                  <TextView
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:text="@string/notify"
                      android:textColor="@color/white"
                      android:textSize="16sp"/>
  
                  <com.dinhcv.lifelogpedometer.customview.ExpandableListCustomView
                      android:id="@+id/lv_notice"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:divider="@null"
                      android:visibility="visible" />
  
              </LinearLayout>
  
  
  
  
          </LinearLayout>
      </ScrollView>
      <include layout="@layout/type_step" />
  </RelativeLayout>