<?xml version="1.0" encoding="utf-8"?>
<ScrollView
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content">

  <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <include layout="@layout/internal_tools_toolbar" />

    <LinearLayout
      android:orientation="vertical"
      android:paddingStart="@dimen/grid_3"
      android:paddingEnd="@dimen/grid_3"
      android:paddingTop="@dimen/grid_2"
      android:paddingBottom="@dimen/grid_2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content">

      <Button
        style="@style/BorderButton"
        android:id="@+id/playground_button"
        android:layout_width="match_parent"
        android:layout_marginBottom="@dimen/grid_1"
        android:text="@string/internal_tools_playground"
        android:layout_marginTop="@dimen/grid_1" />

      <Button
        style="@style/BorderButton"
        android:id="@+id/submit_bug_report_button"
        android:layout_width="match_parent"
        android:layout_marginBottom="@dimen/grid_1"
        android:text="@string/Submit_feedback"
        android:layout_marginTop="@dimen/grid_1" />

      <Button
        style="@style/BorderButton"
        android:id="@+id/push_notifications_button"
        android:layout_width="match_parent"
        android:layout_marginTop="@dimen/grid_1"
        android:layout_marginBottom="@dimen/grid_3"
        android:text="@string/internal_tools_push_notifications" />

      <include layout="@layout/horizontal_line_1dp_view" />

      <TextView
        style="@style/CalloutPrimaryMedium"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/grid_3"
        android:text="@string/Change_endpoint" />

      <Button
        style="@style/BorderButton"
        android:id="@+id/change_endpoint_production_button"
        android:layout_width="match_parent"
        android:layout_marginTop="@dimen/grid_2"
        android:layout_marginBottom="@dimen/grid_1"
        android:text="@string/Production" />

      <Button
        style="@style/BorderButton"
        android:id="@+id/change_endpoint_staging_button"
        android:layout_width="match_parent"
        android:layout_marginTop="@dimen/grid_1"
        android:layout_marginBottom="@dimen/grid_1"
        android:text="@string/Staging" />

      <Button
        style="@style/BorderButton"
        android:id="@+id/change_endpoint_hivequeen_button"
        android:layout_width="match_parent"
        android:layout_marginTop="@dimen/grid_1"
        android:layout_marginBottom="@dimen/grid_1"
        android:text="@string/Hivequeen" />

      <Button
        style="@style/BorderButton"
        android:id="@+id/change_endpoint_custom_button"
        android:layout_width="match_parent"
        android:layout_marginTop="@dimen/grid_1"
        android:layout_marginBottom="@dimen/grid_3"
        android:text="@string/Custom" />

      <include layout="@layout/horizontal_line_1dp_view" />

      <TableLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/grid_3"
        android:layout_marginBottom="@dimen/grid_1"
        android:stretchColumns="*">

        <TableRow
          android:layout_marginTop="@dimen/grid_1"
          android:layout_marginBottom="@dimen/grid_1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="1" >

          <TextView
            style="@style/CalloutPrimaryMedium"
            android:layout_span="2"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/Build_information" />

        </TableRow>

        <TableRow
          android:layout_marginTop="@dimen/grid_1"
          android:layout_marginBottom="@dimen/grid_1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="1" >

          <TextView
            style="@style/BodySecondary"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/Variant"
            android:layout_column="0" />

          <TextView
            style="@style/BodyPrimary"
            android:id="@+id/variant"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_column="1" />

        </TableRow>

        <TableRow
          android:layout_marginTop="@dimen/grid_1"
          android:layout_marginBottom="@dimen/grid_1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="1" >

          <TextView
            style="@style/BodySecondary"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/Version_code"
            android:layout_column="0" />

          <TextView
            style="@style/BodyPrimary"
            android:id="@+id/version_code"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_column="1" />

        </TableRow>

        <TableRow
          android:layout_marginTop="@dimen/grid_1"
          android:layout_marginBottom="@dimen/grid_1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="1" >

          <TextView
            style="@style/BodySecondary"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/Version_name"
            android:layout_column="0" />

          <TextView
            style="@style/BodyPrimary"
            android:id="@+id/version_name"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_column="1" />

        </TableRow>

        <TableRow
          android:layout_marginTop="@dimen/grid_1"
          android:layout_marginBottom="@dimen/grid_1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="1" >

          <TextView
            style="@style/BodySecondary"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/Build_date"
            android:layout_column="0" />

          <TextView
            style="@style/BodyPrimary"
            android:id="@+id/build_date"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_column="1" />

        </TableRow>

        <TableRow
          android:layout_marginTop="@dimen/grid_1"
          android:layout_marginBottom="@dimen/grid_1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:weightSum="1" >

          <TextView
            style="@style/BodySecondary"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:text="@string/Sha"
            android:layout_column="0" />

          <TextView
            style="@style/BodyPrimary"
            android:id="@+id/sha"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_column="1" />

        </TableRow>

      </TableLayout>


    </LinearLayout>

  </LinearLayout>


</ScrollView>
