1+ <?xml version =" 1.0" encoding =" utf-8" ?><TableLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2+ xmlns : tools =" http://schemas.android.com/tools"
3+ android : layout_width =" match_parent"
4+ android : layout_height =" match_parent"
5+ android : paddingBottom =" @dimen/activity_vertical_margin"
6+ android : paddingLeft =" @dimen/activity_horizontal_margin"
7+ android : paddingRight =" @dimen/activity_horizontal_margin"
8+ android : paddingTop =" @dimen/activity_vertical_margin"
9+ tools : context =" .DebugActivity" >
10+
11+ <TextView
12+ android : id =" @+id/editText1"
13+ android : layout_width =" wrap_content"
14+ android : layout_height =" wrap_content"
15+ android : ems =" 10"
16+ android : text =" @string/debug_lecture" >
17+ </TextView >
18+
19+ <TableRow
20+ style =" ?android:attr/buttonBarStyle"
21+ android : layout_width =" match_parent"
22+ android : layout_height =" match_parent" >
23+
24+ <Button
25+ style =" ?android:attr/buttonBarButtonStyle"
26+ android : layout_width =" match_parent"
27+ android : layout_height =" wrap_content"
28+ android : onClick =" doDateTimeNow"
29+ android : text =" @string/set_time_now" />
30+
31+ <TextView
32+ android : id =" @+id/dateDisplay"
33+ style =" ?android:attr/actionButtonStyle"
34+ android : layout_width =" wrap_content"
35+ android : layout_height =" wrap_content"
36+ android : clickable =" true"
37+ android : onClick =" doSetDate" />
38+
39+ <TextView
40+ android : id =" @+id/timeDisplay"
41+ style =" ?android:attr/actionButtonStyle"
42+ android : layout_width =" wrap_content"
43+ android : layout_height =" wrap_content"
44+ android : clickable =" true"
45+ android : onClick =" doSetTime" />
46+
47+ </TableRow >
48+
49+ <TableRow
50+ android : layout_width =" match_parent"
51+ android : layout_height =" match_parent" >
52+
53+ <TextView
54+ android : layout_width =" wrap_content"
55+ android : layout_height =" wrap_content"
56+ android : text =" @string/rtWeight" />
57+
58+ <EditText android : id =" @+id/debugWeightValue"
59+ android : text =" @string/dummy_weight"
60+ android : inputType =' numberSigned'
61+ android : layout_width =" wrap_content"
62+ android : layout_height =" wrap_content" >
63+
64+ <requestFocus />
65+
66+ </EditText >
67+
68+ <Button
69+ android : id =" @+id/weightOk"
70+ android : layout_width =" wrap_content"
71+ android : layout_height =" wrap_content"
72+ android : onClick =" fakeWeight"
73+ android : text =" @string/ok" />
74+
75+ </TableRow >
76+
77+ <TableRow android : layout_height =" wrap_content" >
78+
79+ <TextView android : text =" @string/rtBPAndPulse"
80+ android : layout_width =" wrap_content"
81+ android : layout_height =" wrap_content"
82+ android : layout_gravity =" center_vertical"
83+ />
84+
85+ <LinearLayout android : orientation =" vertical" >
86+ <EditText android : id =" @+id/debugBPsystolicValue"
87+ android : text =" @string/dummy_systolic"
88+ android : inputType =' numberSigned'
89+ android : layout_width =" wrap_content"
90+ android : layout_height =" wrap_content"
91+ >
92+ </EditText >
93+ <EditText android : id =" @+id/debugBPdiastolicValue"
94+ android : text =" @string/dummy_diastolic"
95+ android : inputType =' numberSigned'
96+ android : layout_width =" wrap_content"
97+ android : layout_height =" wrap_content"
98+ >
99+ </EditText >
100+
101+ <EditText android : id =" @+id/debugPulseValue"
102+ android : text =" @string/dummy_pulse"
103+ android : inputType =' numberSigned'
104+ android : layout_width =" wrap_content"
105+ android : layout_height =" wrap_content" >
106+ </EditText >
107+ </LinearLayout >
108+
109+ <Button android : id =" @+id/bpOk"
110+ android : text =" @string/ok"
111+ android : onClick =" fakeBpAndPulse"
112+ android : layout_width =" wrap_content"
113+ android : layout_height =" wrap_content"
114+ android : layout_gravity =" center_vertical" />
115+
116+ </TableRow >
117+
118+ <TableRow android : gravity =" center_horizontal"
119+ android : layout_width =" match_parent"
120+ android : layout_height =" wrap_content"
121+ style =" ?android:attr/buttonBarStyle" >
122+
123+ <Button android : text =" @string/dump_readings"
124+ style=" ?android:attr/buttonBarButtonStyle"
125+ android:onClick=" dumpReadings" />
126+
127+ <Button android : text =" @string/dump_reading_sets"
128+ style =" ?android:attr/buttonBarButtonStyle"
129+ android : onClick =" dumpReadingSets" />
130+
131+ </TableRow >
132+
133+ <TableRow android : gravity =" center_horizontal"
134+ android : layout_width =" match_parent"
135+ android : layout_height =" wrap_content" >
136+
137+ <Button
138+ android : layout_height =" wrap_content"
139+ android : onClick =" debugDone"
140+ android : text =" @string/done" />
141+
142+ </TableRow >
143+
144+ </TableLayout >
0 commit comments