<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <LinearLayout
       android:orientation="horizontal"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content">

      <Button
         android:id="@+id/prefer_hosted"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/gls_tester_prefer_hosted"/>

      <Button
         android:id="@+id/require_google"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/gls_tester_require_google"/>

      <Button
         android:id="@+id/get_accounts"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/gls_tester_get_accounts"/>

      <Button
         android:id="@+id/clear"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/gls_tester_clear"/>

      <Button android:id="@+id/go"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/gls_tester_go"/>

    </LinearLayout>

    <EditText android:id="@+id/username_edit"
              android:singleLine="true"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:minWidth="250dip"
              android:scrollHorizontally="true"
              android:capitalize="none"
              android:autoText="false"/>

    <LinearLayout android:orientation="horizontal"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content">

      <CheckBox android:id="@+id/do_notification"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/gls_tester_do_notification"/>

      <CheckBox android:id="@+id/run_intent"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/gls_tester_run_intent"/>

    </LinearLayout>

    <LinearLayout
       android:orientation="horizontal"
       android:layout_width="fill_parent"
       android:layout_height="wrap_content">

      <Spinner android:id="@+id/service_spinner"
               android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:entries="@array/glstester_services"/>

      <Button
         android:id="@+id/wipe_passwords"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="@string/gls_tester_wipe_passwords"/>
    </LinearLayout>

    <com.android.development.LogTextBox
        android:id="@+id/text"
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="0dip"
        android:layout_weight="1"
        android:scrollbars="vertical"
        android:textSize="10dip"
       />

</LinearLayout>