1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:orientation="vertical" 18 android:gravity="center_horizontal" 19 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:background="#FF000000" 22 > 23 <FrameLayout 24 android:layout_width="fill_parent" 25 android:layout_height="wrap_content" 26 android:layout_weight="1.0" 27 > 28 <ListView 29 android:id="@+id/list" 30 android:layout_width="fill_parent" 31 android:layout_height="fill_parent" 32 /> 33 <ProgressBar 34 android:id="@+id/progress" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:indeterminate="true" 38 android:layout_gravity="center" 39 android:visibility="invisible" 40 /> 41 </FrameLayout> 42 43 <LinearLayout 44 android:gravity="center_horizontal" 45 android:orientation="horizontal" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:layout_marginTop="10px" 49 android:layout_marginBottom="10px" 50 > 51 <Button 52 android:id="@+id/calibrateButton" 53 android:text="@string/aq_calibrate" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 /> 57 <Button 58 android:id="@+id/runAllButton" 59 android:text="@string/aq_run_all" 60 android:layout_width="wrap_content" 61 android:layout_height="wrap_content" 62 /> 63 <Button 64 android:id="@+id/stopButton" 65 android:text="@string/aq_stop" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 /> 69 <Button 70 android:id="@+id/viewResultsButton" 71 android:text="@string/aq_view_results" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 /> 75 <Button 76 android:id="@+id/clearButton" 77 android:text="@string/aq_clear" 78 android:layout_width="wrap_content" 79 android:layout_height="wrap_content" 80 /> 81 </LinearLayout> 82 83 <include layout="@layout/pass_fail_buttons" /> 84 85 </LinearLayout> 86