Blame view

res/layout/statistics_day_activity.xml 5.32 KB
3c2353cd   杜方   1、畅游通核销app源码提交;
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
  <?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="#ffffff"
      android:orientation="vertical" >
  
      <include layout="@layout/app_top_title" />
  
      <LinearLayout
          android:id="@+id/startLayout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center_vertical"
          android:orientation="horizontal"
          android:paddingLeft="6dp"
          android:paddingRight="6dp" >
  
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingBottom="6dp"
              android:paddingTop="6dp"
              android:text="@string/start_time"
              android:textColor="#000000"
              android:textSize="18dp" />
  
          <TextView
              android:id="@+id/startTime"
              android:layout_width="0dp"
              android:layout_height="@dimen/starttime_height"
              android:layout_marginLeft="4dp"
              android:layout_weight="1"
              android:hint="@string/please_select_start_time"
              android:paddingBottom="10dp"
              android:paddingTop="10dp"
              android:textColorHint="#CDC5BF"
               android:textColor="#757575"
              android:textSize="18dp" />
      </LinearLayout>
  
      <View
          android:layout_width="match_parent"
          android:layout_height="1px"
          android:background="#D1D1D1" />
  
      <LinearLayout
          android:id="@+id/endLayout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center_vertical"
          android:orientation="horizontal"
          android:paddingLeft="6dp"
          android:paddingRight="6dp" >
  
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:paddingBottom="6dp"
              android:paddingTop="6dp"
              android:text="@string/end_time"
              android:textColor="#000000"
              android:textSize="18dp" />
  
          <TextView
              android:id="@+id/endTime"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_marginLeft="4dp"
              android:layout_weight="1"
              android:hint="@string/please_select_end_time"
              android:paddingBottom="10dp"
              android:paddingTop="10dp"
              android:textColorHint="#CDC5BF"
               android:textColor="#757575"
              android:textSize="18dp" />
      </LinearLayout>
  
      <View
          android:layout_width="match_parent"
          android:layout_height="1px"
          android:background="#D1D1D1" />
  
      <View
          android:layout_width="match_parent"
          android:layout_height="1px"
          android:background="#D1D1D1" />
  
       <LinearLayout 
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          android:layout_marginTop="6dp"
          android:paddingLeft="6dp"
          android:paddingRight="6dp"
          android:gravity="center_horizontal">
      <Button
          android:id="@+id/searchButton"
          android:layout_width="125dp"
          android:layout_height="wrap_content"
          android:layout_gravity="center_horizontal"
          android:background="@drawable/bg_button_cricleshape"
          android:paddingBottom="6dp"
          android:paddingTop="10dp"
          android:text="@string/search"
          android:textColor="#ffffff"
          android:textSize="18dp" />
      <Button
           android:id="@+id/printBtn"
          android:layout_width="125dp"
          android:layout_height="wrap_content"
          android:background="@drawable/bg_button_cricleshape"
          android:paddingBottom="6dp"
          android:paddingTop="10dp"
          android:text="@string/statistic_print"
          android:layout_marginLeft="10dp"
          android:textColor="#ffffff"
          android:textSize="18dp"
          />
  	</LinearLayout>
  
      <View
          android:layout_width="match_parent"
          android:layout_height="1px"
          android:layout_marginTop="10dp"
          android:background="#555555" />
  
      <ListView
          android:id="@+id/statistic_list"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="1"
          android:background="#F8F8FF"
          android:paddingLeft="6dp"
          android:paddingRight="6dp" />
  	 <!-- 错误提醒 -->
      <LinearLayout
          android:id="@+id/errorLayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:visibility="gone"
          android:gravity="center"
          
          android:orientation="vertical" >
          <ImageView
              android:layout_width="130dp"
              android:layout_height="130dp"
              android:src="@drawable/no_data" />
          <TextView
              android:id="@+id/errorInfo"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center"
              android:maxEms="10"
              android:maxLines="5"
              android:gravity="center_horizontal"
              android:textColor="#FF0000"
              android:textSize="20dp" />
      </LinearLayout>
  </LinearLayout>