1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 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="match_parent" 21 android:layout_height="match_parent"> 22 23 <LinearLayout android:orientation="vertical" 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content"> 26 <TextView android:id="@+id/sync_adapters_spinner_label" 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content" 29 android:textSize="22dip" 30 android:text="@string/sync_adapters_spinner_label"/> 31 32 <Spinner android:id="@+id/sync_adapters_spinner" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content"/> 35 <LinearLayout 36 android:orientation="horizontal" 37 android:layout_width="match_parent" 38 android:layout_height="52dip"> 39 <Button 40 android:id="@+id/bind_button" 41 android:layout_width="0dip" 42 android:layout_height="wrap_content" 43 android:text="@string/bind_button" 44 android:onClick="initiateBind" 45 android:layout_weight="2"/> 46 47 <Button 48 android:id="@+id/unbind_button" 49 android:layout_width="0dip" 50 android:layout_height="wrap_content" 51 android:text="@string/unbind_button" 52 android:onClick="initiateUnbind" 53 android:layout_weight="2"/> 54 </LinearLayout> 55 56 <TextView android:id="@+id/bound_adapter_text_view" 57 android:layout_width="wrap_content" 58 android:textSize="20dip" 59 android:layout_height="wrap_content"/> 60 61 <LinearLayout 62 android:orientation="horizontal" 63 android:layout_width="match_parent" 64 android:layout_height="52dip"> 65 <Button 66 android:id="@+id/start_sync_button" 67 android:layout_width="0dip" 68 android:layout_height="wrap_content" 69 android:text="@string/start_sync_button" 70 android:onClick="startSyncSelected" 71 android:layout_weight="2"/> 72 73 <Button 74 android:id="@+id/cancel_sync_button" 75 android:layout_width="0dip" 76 android:layout_height="wrap_content" 77 android:text="@string/cancel_sync_button" 78 android:onClick="cancelSync" 79 android:layout_weight="2"/> 80 </LinearLayout> 81 82 <TextView android:id="@+id/status_text_view" 83 android:layout_width="wrap_content" 84 android:layout_height="wrap_content"/> 85 </LinearLayout> 86</LinearLayout> 87