repo time

Dependencies:   mbed MAX14720 MAX30205 USBDevice

Committer:
darienf
Date:
Tue Apr 06 06:41:40 2021 +0000
Revision:
20:6d2af70c92ab
another repo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
darienf 20:6d2af70c92ab 1 <?xml version="1.0" encoding="utf-8"?>
darienf 20:6d2af70c92ab 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
darienf 20:6d2af70c92ab 3 xmlns:tools="http://schemas.android.com/tools"
darienf 20:6d2af70c92ab 4 android:id="@+id/activity_sensor1"
darienf 20:6d2af70c92ab 5 android:orientation="vertical" android:layout_width="match_parent"
darienf 20:6d2af70c92ab 6 android:layout_height="match_parent"
darienf 20:6d2af70c92ab 7 android:weightSum="1"
darienf 20:6d2af70c92ab 8 tools:context="com.example.android.bluetoothlegatt.SensorActivity"
darienf 20:6d2af70c92ab 9 android:background="#d7d7d7">
darienf 20:6d2af70c92ab 10
darienf 20:6d2af70c92ab 11 <GridLayout
darienf 20:6d2af70c92ab 12 android:id="@+id/deviceInformation"
darienf 20:6d2af70c92ab 13 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 14 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 15 android:layout_alignParentTop="true"
darienf 20:6d2af70c92ab 16 android:columnCount="2"
darienf 20:6d2af70c92ab 17 android:useDefaultMargins="true"
darienf 20:6d2af70c92ab 18 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 19 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 20 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 21 android:background="#f4f4f4">
darienf 20:6d2af70c92ab 22
darienf 20:6d2af70c92ab 23 <TextView
darienf 20:6d2af70c92ab 24 style="@style/GridLayoutTitleTextView"
darienf 20:6d2af70c92ab 25 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 26 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 27 android:textSize="10sp"
darienf 20:6d2af70c92ab 28 android:text="@string/label_device_address"/>
darienf 20:6d2af70c92ab 29
darienf 20:6d2af70c92ab 30 <TextView
darienf 20:6d2af70c92ab 31 android:id="@+id/device_address"
darienf 20:6d2af70c92ab 32 android:textSize="10sp"
darienf 20:6d2af70c92ab 33 style="@style/GridLayoutDataTextView"/>
darienf 20:6d2af70c92ab 34
darienf 20:6d2af70c92ab 35 <TextView
darienf 20:6d2af70c92ab 36 android:textSize="10sp"
darienf 20:6d2af70c92ab 37 style="@style/GridLayoutTitleTextView"
darienf 20:6d2af70c92ab 38 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 39 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 40 android:text="@string/label_state"/>
darienf 20:6d2af70c92ab 41
darienf 20:6d2af70c92ab 42 <TextView
darienf 20:6d2af70c92ab 43 android:textSize="10sp"
darienf 20:6d2af70c92ab 44 android:id="@+id/connection_state"
darienf 20:6d2af70c92ab 45 style="@style/GridLayoutDataTextView"/>
darienf 20:6d2af70c92ab 46 </GridLayout>
darienf 20:6d2af70c92ab 47
darienf 20:6d2af70c92ab 48
darienf 20:6d2af70c92ab 49 <!-- Temperature Top (WSN Temperature) -->
darienf 20:6d2af70c92ab 50 <RelativeLayout
darienf 20:6d2af70c92ab 51 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 52 android:layout_height="65dp"
darienf 20:6d2af70c92ab 53 android:id="@+id/relativeLayout1"
darienf 20:6d2af70c92ab 54 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 55 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 56 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 57 android:background="#f4f4f4">
darienf 20:6d2af70c92ab 58
darienf 20:6d2af70c92ab 59 <ImageView
darienf 20:6d2af70c92ab 60 android:layout_width="40dp"
darienf 20:6d2af70c92ab 61 android:layout_height="40dp"
darienf 20:6d2af70c92ab 62 android:id="@+id/imageView"
darienf 20:6d2af70c92ab 63 android:layout_marginTop="7dp"
darienf 20:6d2af70c92ab 64 android:background="@drawable/temperature"
darienf 20:6d2af70c92ab 65 android:layout_gravity="left"
darienf 20:6d2af70c92ab 66 android:layout_marginLeft="5dp" />
darienf 20:6d2af70c92ab 67
darienf 20:6d2af70c92ab 68 <LinearLayout
darienf 20:6d2af70c92ab 69 android:orientation="vertical"
darienf 20:6d2af70c92ab 70 android:layout_width="100dp"
darienf 20:6d2af70c92ab 71 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 72 android:layout_marginLeft="5dp"
darienf 20:6d2af70c92ab 73 android:layout_alignParentStart="false"
darienf 20:6d2af70c92ab 74 android:layout_toEndOf="@id/imageView"
darienf 20:6d2af70c92ab 75 android:layout_alignParentEnd="false"
darienf 20:6d2af70c92ab 76 android:id="@+id/layout1">
darienf 20:6d2af70c92ab 77 <TextView
darienf 20:6d2af70c92ab 78 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 79 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 80 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 81 android:text="MAX30205 1"
darienf 20:6d2af70c92ab 82 android:textSize="15sp"
darienf 20:6d2af70c92ab 83 android:id="@+id/textView3"
darienf 20:6d2af70c92ab 84 android:textColor="#0a5dff" />
darienf 20:6d2af70c92ab 85 <TextView
darienf 20:6d2af70c92ab 86 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 87 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 88 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 89 android:text="---- F"
darienf 20:6d2af70c92ab 90 android:textSize="22dp"
darienf 20:6d2af70c92ab 91 android:id="@+id/textTempTop"
darienf 20:6d2af70c92ab 92 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 93
darienf 20:6d2af70c92ab 94 </LinearLayout>
darienf 20:6d2af70c92ab 95
darienf 20:6d2af70c92ab 96 <view
darienf 20:6d2af70c92ab 97 android:layout_width="fill_parent"
darienf 20:6d2af70c92ab 98 android:layout_height="match_parent"
darienf 20:6d2af70c92ab 99 android:layout_gravity="right"
darienf 20:6d2af70c92ab 100 android:layout_marginRight="5dp"
darienf 20:6d2af70c92ab 101 class="graphing.LineGraphing"
darienf 20:6d2af70c92ab 102 android:id="@+id/lineGraphingTemperature1"
darienf 20:6d2af70c92ab 103 android:layout_toEndOf="@id/layout1" />
darienf 20:6d2af70c92ab 104
darienf 20:6d2af70c92ab 105 <TextView
darienf 20:6d2af70c92ab 106 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 107 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 108 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 109 android:text="-- --"
darienf 20:6d2af70c92ab 110 android:textSize="10dp"
darienf 20:6d2af70c92ab 111 android:id="@+id/textTempTopRaw"
darienf 20:6d2af70c92ab 112 android:textColor="#5e5e5e"
darienf 20:6d2af70c92ab 113 android:layout_alignParentBottom="true"
darienf 20:6d2af70c92ab 114 android:layout_alignStart="@+id/layout1" />
darienf 20:6d2af70c92ab 115 </RelativeLayout>
darienf 20:6d2af70c92ab 116
darienf 20:6d2af70c92ab 117 <!-- Temperature Bottom (WSN Humidity) -->
darienf 20:6d2af70c92ab 118 <RelativeLayout
darienf 20:6d2af70c92ab 119 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 120 android:layout_height="65dp"
darienf 20:6d2af70c92ab 121 android:id="@+id/relativeLayout2"
darienf 20:6d2af70c92ab 122 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 123 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 124 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 125 android:background="#f4f4f4">
darienf 20:6d2af70c92ab 126
darienf 20:6d2af70c92ab 127 <ImageView
darienf 20:6d2af70c92ab 128 android:layout_width="40dp"
darienf 20:6d2af70c92ab 129 android:layout_height="40dp"
darienf 20:6d2af70c92ab 130 android:id="@+id/imageView2"
darienf 20:6d2af70c92ab 131 android:layout_marginTop="7dp"
darienf 20:6d2af70c92ab 132 android:background="@drawable/temperature"
darienf 20:6d2af70c92ab 133 android:layout_gravity="left"
darienf 20:6d2af70c92ab 134 android:layout_marginLeft="5dp" />
darienf 20:6d2af70c92ab 135
darienf 20:6d2af70c92ab 136 <LinearLayout
darienf 20:6d2af70c92ab 137 android:orientation="vertical"
darienf 20:6d2af70c92ab 138 android:layout_width="100dp"
darienf 20:6d2af70c92ab 139 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 140 android:layout_marginLeft="5dp"
darienf 20:6d2af70c92ab 141 android:layout_alignParentStart="false"
darienf 20:6d2af70c92ab 142 android:layout_toEndOf="@id/imageView2"
darienf 20:6d2af70c92ab 143 android:layout_alignParentEnd="false"
darienf 20:6d2af70c92ab 144 android:id="@+id/layout2">
darienf 20:6d2af70c92ab 145 <TextView
darienf 20:6d2af70c92ab 146 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 147 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 148 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 149 android:text="MAX30205 2"
darienf 20:6d2af70c92ab 150 android:textSize="15sp"
darienf 20:6d2af70c92ab 151 android:id="@+id/textView2"
darienf 20:6d2af70c92ab 152 android:textColor="#0a5dff" />
darienf 20:6d2af70c92ab 153 <TextView
darienf 20:6d2af70c92ab 154 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 155 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 156 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 157 android:text="---- F"
darienf 20:6d2af70c92ab 158 android:textSize="22dp"
darienf 20:6d2af70c92ab 159 android:id="@+id/textTempBottom"
darienf 20:6d2af70c92ab 160 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 161 </LinearLayout>
darienf 20:6d2af70c92ab 162
darienf 20:6d2af70c92ab 163 <view
darienf 20:6d2af70c92ab 164 android:layout_width="fill_parent"
darienf 20:6d2af70c92ab 165 android:layout_height="match_parent"
darienf 20:6d2af70c92ab 166 android:layout_gravity="right"
darienf 20:6d2af70c92ab 167 android:layout_marginRight="5dp"
darienf 20:6d2af70c92ab 168 class="graphing.LineGraphing"
darienf 20:6d2af70c92ab 169 android:id="@+id/lineGraphingTemperature2"
darienf 20:6d2af70c92ab 170 android:layout_toEndOf="@id/layout2" />
darienf 20:6d2af70c92ab 171
darienf 20:6d2af70c92ab 172 <TextView
darienf 20:6d2af70c92ab 173 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 174 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 175 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 176 android:text="-- --"
darienf 20:6d2af70c92ab 177 android:textSize="10dp"
darienf 20:6d2af70c92ab 178 android:id="@+id/textTempBottomRaw"
darienf 20:6d2af70c92ab 179 android:textColor="#5e5e5e"
darienf 20:6d2af70c92ab 180 android:layout_alignParentBottom="true"
darienf 20:6d2af70c92ab 181 android:layout_alignStart="@+id/layout2" />
darienf 20:6d2af70c92ab 182 </RelativeLayout>
darienf 20:6d2af70c92ab 183
darienf 20:6d2af70c92ab 184
darienf 20:6d2af70c92ab 185
darienf 20:6d2af70c92ab 186
darienf 20:6d2af70c92ab 187
darienf 20:6d2af70c92ab 188
darienf 20:6d2af70c92ab 189
darienf 20:6d2af70c92ab 190
darienf 20:6d2af70c92ab 191 <!-- LIS2DH (WSN Light) -->
darienf 20:6d2af70c92ab 192 <RelativeLayout
darienf 20:6d2af70c92ab 193 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 194 android:layout_height="65dp"
darienf 20:6d2af70c92ab 195 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 196 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 197 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 198 android:id="@+id/relativeLayout3"
darienf 20:6d2af70c92ab 199 android:background="#f4f4f4">
darienf 20:6d2af70c92ab 200
darienf 20:6d2af70c92ab 201 <ImageView
darienf 20:6d2af70c92ab 202 android:layout_width="30dp"
darienf 20:6d2af70c92ab 203 android:layout_height="40dp"
darienf 20:6d2af70c92ab 204 android:id="@+id/imageView3"
darienf 20:6d2af70c92ab 205 android:background="@drawable/accelerometer2"
darienf 20:6d2af70c92ab 206 android:layout_gravity="left"
darienf 20:6d2af70c92ab 207 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 208 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 209 android:layout_marginBottom="5dp" />
darienf 20:6d2af70c92ab 210
darienf 20:6d2af70c92ab 211 <LinearLayout
darienf 20:6d2af70c92ab 212 android:orientation="vertical"
darienf 20:6d2af70c92ab 213 android:layout_width="100dp"
darienf 20:6d2af70c92ab 214 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 215 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 216 android:layout_alignParentStart="false"
darienf 20:6d2af70c92ab 217 android:layout_toEndOf="@id/imageView3"
darienf 20:6d2af70c92ab 218 android:layout_alignParentEnd="false"
darienf 20:6d2af70c92ab 219 android:id="@+id/layout3">
darienf 20:6d2af70c92ab 220 <TextView
darienf 20:6d2af70c92ab 221 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 222 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 223 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 224 android:text="LIS2DH"
darienf 20:6d2af70c92ab 225 android:textSize="17sp"
darienf 20:6d2af70c92ab 226 android:id="@+id/textView4"
darienf 20:6d2af70c92ab 227 android:textColor="#0a5dff" />
darienf 20:6d2af70c92ab 228 <TextView
darienf 20:6d2af70c92ab 229 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 230 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 231 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 232 android:text="X: ---"
darienf 20:6d2af70c92ab 233 android:textSize="6dp"
darienf 20:6d2af70c92ab 234 android:id="@+id/textLIS2DH_X"
darienf 20:6d2af70c92ab 235 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 236 <TextView
darienf 20:6d2af70c92ab 237 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 238 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 239 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 240 android:text="Y: ---"
darienf 20:6d2af70c92ab 241 android:textSize="6dp"
darienf 20:6d2af70c92ab 242 android:id="@+id/textLIS2DH_Y"
darienf 20:6d2af70c92ab 243 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 244 <TextView
darienf 20:6d2af70c92ab 245 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 246 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 247 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 248 android:text="Z: ---"
darienf 20:6d2af70c92ab 249 android:textSize="6dp"
darienf 20:6d2af70c92ab 250 android:id="@+id/textLIS2DH_Z"
darienf 20:6d2af70c92ab 251 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 252 </LinearLayout>
darienf 20:6d2af70c92ab 253
darienf 20:6d2af70c92ab 254
darienf 20:6d2af70c92ab 255
darienf 20:6d2af70c92ab 256
darienf 20:6d2af70c92ab 257 <view
darienf 20:6d2af70c92ab 258 android:layout_width="fill_parent"
darienf 20:6d2af70c92ab 259 android:layout_height="match_parent"
darienf 20:6d2af70c92ab 260 android:layout_gravity="right"
darienf 20:6d2af70c92ab 261 android:layout_marginRight="5dp"
darienf 20:6d2af70c92ab 262 class="graphing.LineGraphing"
darienf 20:6d2af70c92ab 263 android:id="@+id/lineGraphingAccelerometer"
darienf 20:6d2af70c92ab 264 android:visibility="visible"
darienf 20:6d2af70c92ab 265 android:layout_toEndOf="@id/layout3"
darienf 20:6d2af70c92ab 266 />
darienf 20:6d2af70c92ab 267
darienf 20:6d2af70c92ab 268
darienf 20:6d2af70c92ab 269 <TextView
darienf 20:6d2af70c92ab 270 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 271 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 272 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 273 android:text=" Mission Stopped"
darienf 20:6d2af70c92ab 274 android:id="@+id/textView7"
darienf 20:6d2af70c92ab 275 android:layout_centerVertical="true"
darienf 20:6d2af70c92ab 276 android:layout_alignEnd="@+id/lineGraphingAccelerometer"
darienf 20:6d2af70c92ab 277 android:textAlignment="center"
darienf 20:6d2af70c92ab 278 android:textColor="#bfbfbf"
darienf 20:6d2af70c92ab 279 android:layout_toEndOf="@+id/layout3"
darienf 20:6d2af70c92ab 280 android:visibility="invisible" />
darienf 20:6d2af70c92ab 281
darienf 20:6d2af70c92ab 282 <TextView
darienf 20:6d2af70c92ab 283 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 284 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 285 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 286 android:text="-- --"
darienf 20:6d2af70c92ab 287 android:textSize="10dp"
darienf 20:6d2af70c92ab 288 android:id="@+id/textLIS2DHRaw"
darienf 20:6d2af70c92ab 289 android:textColor="#5e5e5e"
darienf 20:6d2af70c92ab 290 android:layout_alignParentBottom="true"
darienf 20:6d2af70c92ab 291 android:layout_alignStart="@+id/layout3" />
darienf 20:6d2af70c92ab 292
darienf 20:6d2af70c92ab 293
darienf 20:6d2af70c92ab 294 </RelativeLayout>
darienf 20:6d2af70c92ab 295
darienf 20:6d2af70c92ab 296
darienf 20:6d2af70c92ab 297 <!-- BMP280 (WSN Pressure) -->
darienf 20:6d2af70c92ab 298 <RelativeLayout
darienf 20:6d2af70c92ab 299 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 300 android:layout_height="65dp"
darienf 20:6d2af70c92ab 301 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 302 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 303 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 304 android:id="@+id/relativeLayout4"
darienf 20:6d2af70c92ab 305 android:background="#f4f4f4">
darienf 20:6d2af70c92ab 306
darienf 20:6d2af70c92ab 307 <ImageView
darienf 20:6d2af70c92ab 308 android:layout_width="35dp"
darienf 20:6d2af70c92ab 309 android:layout_height="40dp"
darienf 20:6d2af70c92ab 310 android:layout_weight="1"
darienf 20:6d2af70c92ab 311 android:id="@+id/imageView4"
darienf 20:6d2af70c92ab 312 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 313 android:background="@drawable/pressure"
darienf 20:6d2af70c92ab 314 android:layout_gravity="left"
darienf 20:6d2af70c92ab 315 android:layout_marginLeft="7dp"
darienf 20:6d2af70c92ab 316 android:layout_marginRight="3dp" />
darienf 20:6d2af70c92ab 317
darienf 20:6d2af70c92ab 318 <LinearLayout
darienf 20:6d2af70c92ab 319 android:orientation="vertical"
darienf 20:6d2af70c92ab 320 android:layout_width="100dp"
darienf 20:6d2af70c92ab 321 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 322 android:layout_weight="1"
darienf 20:6d2af70c92ab 323 android:layout_marginTop="0dp"
darienf 20:6d2af70c92ab 324 android:layout_alignParentStart="false"
darienf 20:6d2af70c92ab 325 android:layout_toEndOf="@id/imageView4"
darienf 20:6d2af70c92ab 326 android:layout_alignParentEnd="false"
darienf 20:6d2af70c92ab 327 android:layout_marginLeft="5dp"
darienf 20:6d2af70c92ab 328 android:id="@+id/layout4">
darienf 20:6d2af70c92ab 329 <TextView
darienf 20:6d2af70c92ab 330 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 331 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 332 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 333 android:text="BMP280"
darienf 20:6d2af70c92ab 334 android:textSize="17sp"
darienf 20:6d2af70c92ab 335 android:id="@+id/textView"
darienf 20:6d2af70c92ab 336 android:textColor="#0a5dff" />
darienf 20:6d2af70c92ab 337 <TextView
darienf 20:6d2af70c92ab 338 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 339 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 340 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 341 android:text="---- Pa"
darienf 20:6d2af70c92ab 342 android:textSize="15dp"
darienf 20:6d2af70c92ab 343 android:id="@+id/textPressure"
darienf 20:6d2af70c92ab 344 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 345 <TextView
darienf 20:6d2af70c92ab 346 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 347 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 348 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 349 android:text="---- F"
darienf 20:6d2af70c92ab 350 android:textSize="22dp"
darienf 20:6d2af70c92ab 351 android:id="@+id/textTemperature"
darienf 20:6d2af70c92ab 352 android:textColor="#5e5e5e"
darienf 20:6d2af70c92ab 353 android:visibility="gone" />
darienf 20:6d2af70c92ab 354 </LinearLayout>
darienf 20:6d2af70c92ab 355
darienf 20:6d2af70c92ab 356 <view
darienf 20:6d2af70c92ab 357 android:layout_width="fill_parent"
darienf 20:6d2af70c92ab 358 android:layout_height="match_parent"
darienf 20:6d2af70c92ab 359 android:layout_gravity="right"
darienf 20:6d2af70c92ab 360 android:layout_marginRight="5dp"
darienf 20:6d2af70c92ab 361 class="graphing.LineGraphing"
darienf 20:6d2af70c92ab 362 android:id="@+id/lineGraphingPressure"
darienf 20:6d2af70c92ab 363 android:layout_toEndOf="@id/layout4" />
darienf 20:6d2af70c92ab 364
darienf 20:6d2af70c92ab 365 <TextView
darienf 20:6d2af70c92ab 366 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 367 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 368 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 369 android:text="-- --"
darienf 20:6d2af70c92ab 370 android:textSize="10dp"
darienf 20:6d2af70c92ab 371 android:id="@+id/textPressureRaw"
darienf 20:6d2af70c92ab 372 android:textColor="#5e5e5e"
darienf 20:6d2af70c92ab 373 android:layout_alignParentBottom="true"
darienf 20:6d2af70c92ab 374 android:layout_alignStart="@+id/layout4" />
darienf 20:6d2af70c92ab 375 </RelativeLayout>
darienf 20:6d2af70c92ab 376
darienf 20:6d2af70c92ab 377
darienf 20:6d2af70c92ab 378
darienf 20:6d2af70c92ab 379 <!-- ECG Heartrate -->
darienf 20:6d2af70c92ab 380 <RelativeLayout
darienf 20:6d2af70c92ab 381 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 382 android:layout_height="65dp"
darienf 20:6d2af70c92ab 383 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 384 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 385 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 386 android:id="@+id/relativeLayout5"
darienf 20:6d2af70c92ab 387 android:background="#f4f4f4">
darienf 20:6d2af70c92ab 388
darienf 20:6d2af70c92ab 389 <ImageView
darienf 20:6d2af70c92ab 390 android:layout_width="35dp"
darienf 20:6d2af70c92ab 391 android:layout_height="40dp"
darienf 20:6d2af70c92ab 392 android:layout_weight="1"
darienf 20:6d2af70c92ab 393 android:id="@+id/imageView5"
darienf 20:6d2af70c92ab 394 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 395 android:background="@drawable/heart"
darienf 20:6d2af70c92ab 396 android:layout_gravity="left"
darienf 20:6d2af70c92ab 397 android:layout_marginLeft="7dp"
darienf 20:6d2af70c92ab 398 android:layout_marginRight="3dp" />
darienf 20:6d2af70c92ab 399
darienf 20:6d2af70c92ab 400 <LinearLayout
darienf 20:6d2af70c92ab 401 android:orientation="vertical"
darienf 20:6d2af70c92ab 402 android:layout_width="100dp"
darienf 20:6d2af70c92ab 403 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 404 android:layout_weight="1"
darienf 20:6d2af70c92ab 405 android:layout_marginTop="0dp"
darienf 20:6d2af70c92ab 406 android:layout_alignParentStart="false"
darienf 20:6d2af70c92ab 407 android:layout_toEndOf="@id/imageView5"
darienf 20:6d2af70c92ab 408 android:layout_alignParentEnd="false"
darienf 20:6d2af70c92ab 409 android:layout_marginLeft="5dp"
darienf 20:6d2af70c92ab 410 android:id="@+id/layout5">
darienf 20:6d2af70c92ab 411 <TextView
darienf 20:6d2af70c92ab 412 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 413 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 414 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 415 android:text="ECG HeartRate"
darienf 20:6d2af70c92ab 416 android:textSize="12sp"
darienf 20:6d2af70c92ab 417 android:id="@+id/textView5"
darienf 20:6d2af70c92ab 418 android:textColor="#0a5dff" />
darienf 20:6d2af70c92ab 419 <TextView
darienf 20:6d2af70c92ab 420 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 421 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 422 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 423 android:text="-- BPM"
darienf 20:6d2af70c92ab 424 android:textSize="16dp"
darienf 20:6d2af70c92ab 425 android:id="@+id/textHeartRate"
darienf 20:6d2af70c92ab 426 android:textColor="#5e5e5e" />
darienf 20:6d2af70c92ab 427 </LinearLayout>
darienf 20:6d2af70c92ab 428
darienf 20:6d2af70c92ab 429 <view
darienf 20:6d2af70c92ab 430 android:layout_width="fill_parent"
darienf 20:6d2af70c92ab 431 android:layout_height="match_parent"
darienf 20:6d2af70c92ab 432 android:layout_gravity="right"
darienf 20:6d2af70c92ab 433 android:layout_marginRight="5dp"
darienf 20:6d2af70c92ab 434 class="graphing.LineGraphing"
darienf 20:6d2af70c92ab 435 android:id="@+id/lineGraphingHeartrate"
darienf 20:6d2af70c92ab 436 android:layout_toEndOf="@id/layout5"
darienf 20:6d2af70c92ab 437 android:visibility="visible" />
darienf 20:6d2af70c92ab 438
darienf 20:6d2af70c92ab 439 <TextView
darienf 20:6d2af70c92ab 440 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 441 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 442 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 443 android:text="-- --"
darienf 20:6d2af70c92ab 444 android:textSize="10dp"
darienf 20:6d2af70c92ab 445 android:id="@+id/textHeartRateRaw"
darienf 20:6d2af70c92ab 446 android:textColor="#5e5e5e"
darienf 20:6d2af70c92ab 447 android:layout_alignParentBottom="true"
darienf 20:6d2af70c92ab 448 android:layout_alignStart="@+id/layout5" />
darienf 20:6d2af70c92ab 449 <TextView
darienf 20:6d2af70c92ab 450 android:id="@+id/clickStartBtn"
darienf 20:6d2af70c92ab 451 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 452 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 453 android:text="Start"
darienf 20:6d2af70c92ab 454 android:textSize="12sp"
darienf 20:6d2af70c92ab 455 android:onClick="onClick"
darienf 20:6d2af70c92ab 456 android:clickable="true"
darienf 20:6d2af70c92ab 457 android:layout_alignBottom="@+id/textHeartRateRaw"
darienf 20:6d2af70c92ab 458 android:layout_alignEnd="@+id/layout5"
darienf 20:6d2af70c92ab 459 android:background="#505050"
darienf 20:6d2af70c92ab 460 android:textColor="#ffffff"
darienf 20:6d2af70c92ab 461 android:paddingLeft="5dp"
darienf 20:6d2af70c92ab 462 android:paddingRight="5dp"
darienf 20:6d2af70c92ab 463 android:layout_marginBottom="1dp"
darienf 20:6d2af70c92ab 464 android:visibility="gone" />
darienf 20:6d2af70c92ab 465
darienf 20:6d2af70c92ab 466 <TextView
darienf 20:6d2af70c92ab 467 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 468 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 469 android:textAppearance="?android:attr/textAppearanceLarge"
darienf 20:6d2af70c92ab 470 android:text=" Mission Stopped"
darienf 20:6d2af70c92ab 471 android:id="@+id/textView8"
darienf 20:6d2af70c92ab 472 android:textAlignment="center"
darienf 20:6d2af70c92ab 473 android:textColor="#bfbfbf"
darienf 20:6d2af70c92ab 474 android:layout_alignBottom="@+id/imageView5"
darienf 20:6d2af70c92ab 475 android:layout_toEndOf="@+id/layout5"
darienf 20:6d2af70c92ab 476 android:visibility="invisible" />
darienf 20:6d2af70c92ab 477 </RelativeLayout>
darienf 20:6d2af70c92ab 478
darienf 20:6d2af70c92ab 479
darienf 20:6d2af70c92ab 480
darienf 20:6d2af70c92ab 481
darienf 20:6d2af70c92ab 482 <RelativeLayout
darienf 20:6d2af70c92ab 483 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 484 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 485 android:layout_marginLeft="10dp"
darienf 20:6d2af70c92ab 486 android:layout_marginRight="10dp"
darienf 20:6d2af70c92ab 487 android:layout_marginTop="5dp"
darienf 20:6d2af70c92ab 488 android:id="@+id/relativeLayout6"
darienf 20:6d2af70c92ab 489 android:background="#f4f4f4"
darienf 20:6d2af70c92ab 490 android:visibility="gone">
darienf 20:6d2af70c92ab 491
darienf 20:6d2af70c92ab 492 <Button
darienf 20:6d2af70c92ab 493 style="?android:attr/buttonStyleSmall"
darienf 20:6d2af70c92ab 494 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 495 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 496 android:text="test"
darienf 20:6d2af70c92ab 497 android:id="@+id/btnTest"
darienf 20:6d2af70c92ab 498 android:layout_alignParentTop="true"
darienf 20:6d2af70c92ab 499 android:layout_alignParentStart="true" />
darienf 20:6d2af70c92ab 500
darienf 20:6d2af70c92ab 501 <Button
darienf 20:6d2af70c92ab 502 style="?android:attr/buttonStyleSmall"
darienf 20:6d2af70c92ab 503 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 504 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 505 android:text="Update"
darienf 20:6d2af70c92ab 506 android:id="@+id/btnUpdate"
darienf 20:6d2af70c92ab 507 android:layout_alignParentTop="true"
darienf 20:6d2af70c92ab 508 android:layout_toEndOf="@+id/btnTest" />
darienf 20:6d2af70c92ab 509
darienf 20:6d2af70c92ab 510 <Button
darienf 20:6d2af70c92ab 511 style="?android:attr/buttonStyleSmall"
darienf 20:6d2af70c92ab 512 android:layout_width="wrap_content"
darienf 20:6d2af70c92ab 513 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 514 android:text="Subscribe"
darienf 20:6d2af70c92ab 515 android:id="@+id/btnSubscribe"
darienf 20:6d2af70c92ab 516 android:layout_alignParentTop="true"
darienf 20:6d2af70c92ab 517 android:layout_toEndOf="@+id/btnUpdate" />
darienf 20:6d2af70c92ab 518 </RelativeLayout>
darienf 20:6d2af70c92ab 519
darienf 20:6d2af70c92ab 520 <Button
darienf 20:6d2af70c92ab 521 style="?android:attr/buttonStyleSmall"
darienf 20:6d2af70c92ab 522 android:layout_width="match_parent"
darienf 20:6d2af70c92ab 523 android:layout_height="wrap_content"
darienf 20:6d2af70c92ab 524 android:text="Start Mission"
darienf 20:6d2af70c92ab 525 android:id="@+id/clickStartBtn2"
darienf 20:6d2af70c92ab 526 android:backgroundTint="#00b2a9" />
darienf 20:6d2af70c92ab 527
darienf 20:6d2af70c92ab 528 </LinearLayout>