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 <LinearLayout 43 android:orientation="horizontal" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:layout_marginTop="10px" 47 android:layout_marginBottom="10px" 48 > 49 <Button 50 android:id="@+id/calibrateButton" 51 android:text="@string/aq_calibrate" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 /> 55 <Button 56 android:id="@+id/runAllButton" 57 android:text="@string/aq_run_all" 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 /> 61 <Button 62 android:id="@+id/stopButton" 63 android:text="@string/aq_stop" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 /> 67 <Button 68 android:id="@+id/viewResultsButton" 69 android:text="@string/aq_view_results" 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 /> 73 <Button 74 android:id="@+id/clearButton" 75 android:text="@string/aq_clear" 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 /> 79 </LinearLayout> 80 </LinearLayout> 81