<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:orientation="vertical" >
  <LinearLayout
      android:layout_width="match_parent"
      android:layout_marginTop="50dp"
      android:layout_height="20dp">
    <TextView
        android:layout_width="200dp"
        android:text="Android HAL Version"
        android:layout_height="wrap_content" />
    <TextView
        android:id="@+id/hal_version_text"
        android:layout_width="match_parent"
        android:text="Unknown"
        android:layout_height="wrap_content" />
  </LinearLayout>
  <LinearLayout
      android:layout_width="match_parent"
      android:layout_height="20dp">
    <TextView
        android:layout_width="200dp"
        android:text="Android USB Data Status"
        android:layout_height="wrap_content" />
    <TextView
        android:id="@+id/usb_data_status_text"
        android:layout_width="match_parent"
        android:text="Unknown"
        android:layout_height="wrap_content" />
  </LinearLayout>
  <LinearLayout
      android:layout_width="match_parent"
      android:layout_height="20dp">
    <TextView
        android:layout_width="200dp"
        android:text="Battery current mA"
        android:layout_height="wrap_content" />
    <TextView
        android:id="@+id/battery_current_text"
        android:layout_width="match_parent"
        android:text="Unknown"
        android:layout_height="wrap_content" />
  </LinearLayout>
  <Button
      android:id="@+id/usb_button_on"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:onClick="toggleUsbOn"
      android:text="Turn On USB Data Signal" />
  <Button
      android:id="@+id/usb_button_off"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:onClick="toggleUsbOff"
      android:text="Turn Off USB Data Signal" />
  <TextView
      android:layout_width="match_parent"
      android:text="Error"
      android:layout_height="wrap_content" />
  <TextView
      android:id="@+id/error_text"
      android:layout_width="match_parent"
      android:text=""
      android:layout_height="match_parent"
      android:gravity="bottom" />
</LinearLayout>