1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:orientation="vertical" 20 android:layout_width="fill_parent" 21 android:layout_height="fill_parent"> 22 23 <LinearLayout 24 android:orientation="horizontal" 25 android:layout_width="fill_parent" 26 android:layout_height="wrap_content"> 27 28 <Button 29 android:id="@+id/prefer_hosted" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:text="@string/gls_tester_prefer_hosted"/> 33 34 <Button 35 android:id="@+id/require_google" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:text="@string/gls_tester_require_google"/> 39 40 <Button 41 android:id="@+id/get_accounts" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:text="@string/gls_tester_get_accounts"/> 45 46 <Button 47 android:id="@+id/clear" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:text="@string/gls_tester_clear"/> 51 52 <Button android:id="@+id/go" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:text="@string/gls_tester_go"/> 56 57 </LinearLayout> 58 59 <EditText android:id="@+id/username_edit" 60 android:singleLine="true" 61 android:layout_width="fill_parent" 62 android:layout_height="wrap_content" 63 android:minWidth="250dip" 64 android:scrollHorizontally="true" 65 android:capitalize="none" 66 android:autoText="false"/> 67 68 <LinearLayout android:orientation="horizontal" 69 android:layout_width="fill_parent" 70 android:layout_height="wrap_content"> 71 72 <CheckBox android:id="@+id/do_notification" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:text="@string/gls_tester_do_notification"/> 76 77 <CheckBox android:id="@+id/run_intent" 78 android:layout_width="wrap_content" 79 android:layout_height="wrap_content" 80 android:text="@string/gls_tester_run_intent"/> 81 82 </LinearLayout> 83 84 <LinearLayout 85 android:orientation="horizontal" 86 android:layout_width="fill_parent" 87 android:layout_height="wrap_content"> 88 89 <Spinner android:id="@+id/service_spinner" 90 android:layout_width="wrap_content" 91 android:layout_height="wrap_content" 92 android:entries="@array/glstester_services"/> 93 94 <Button 95 android:id="@+id/wipe_passwords" 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:text="@string/gls_tester_wipe_passwords"/> 99 </LinearLayout> 100 101 <com.android.development.LogTextBox 102 android:id="@+id/text" 103 android:background="@drawable/box" 104 android:layout_width="fill_parent" 105 android:layout_height="0dip" 106 android:layout_weight="1" 107 android:scrollbars="vertical" 108 android:textSize="10dip" 109 /> 110 111</LinearLayout> 112