1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2008 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 <ScrollView 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:fillViewport="true" > 22 23 <LinearLayout 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:layout_weight="1" 27 android:orientation="vertical" 28 android:paddingTop="@dimen/setup_fragment_padding_top" 29 android:paddingLeft="@dimen/setup_fragment_padding_left" 30 android:paddingRight="@dimen/setup_fragment_padding_right" > 31 32 <TextView 33 android:text="@string/account_setup_options_mail_check_frequency_label" 34 android:layout_height="wrap_content" 35 android:layout_width="match_parent" 36 android:textAppearance="?android:attr/textAppearanceSmall" 37 android:textColor="?android:attr/textColorPrimary" /> 38 <Spinner 39 android:id="@+id/account_check_frequency" 40 android:layout_height="wrap_content" 41 android:layout_width="match_parent" /> 42 <!-- TODO quick fix - phone UX still TBD --> 43 <LinearLayout 44 android:id="@+id/account_sync_window_row" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:orientation="vertical" 48 android:visibility="gone" 49 > 50 <TextView 51 android:id="@+id/account_sync_window_label" 52 android:text="@string/account_setup_options_mail_window_label" 53 android:layout_height="wrap_content" 54 android:layout_width="match_parent" 55 android:textAppearance="?android:attr/textAppearanceSmall" 56 android:textColor="?android:attr/textColorPrimary" /> 57 <Spinner 58 android:id="@+id/account_sync_window" 59 android:layout_height="wrap_content" 60 android:layout_width="match_parent" /> 61 </LinearLayout> 62 <CheckBox 63 android:id="@+id/account_notify" 64 android:layout_height="wrap_content" 65 android:layout_width="match_parent" 66 android:text="@string/account_setup_options_notify_label" /> 67 <CheckBox 68 android:id="@+id/account_sync_contacts" 69 android:layout_height="wrap_content" 70 android:layout_width="match_parent" 71 android:text="@string/account_setup_options_sync_contacts_label" 72 android:visibility="gone" /> 73 <CheckBox 74 android:id="@+id/account_sync_calendar" 75 android:layout_height="wrap_content" 76 android:layout_width="match_parent" 77 android:text="@string/account_setup_options_sync_calendar_label" 78 android:visibility="gone" /> 79 <CheckBox 80 android:id="@+id/account_sync_email" 81 android:layout_height="wrap_content" 82 android:layout_width="match_parent" 83 android:text="@string/account_setup_options_sync_email_label" /> 84 85 <CheckBox 86 android:id="@+id/account_background_attachments" 87 android:layout_height="wrap_content" 88 android:layout_width="match_parent" 89 android:text="@string/account_setup_options_background_attachments_label" /> 90 91 <include layout="@layout/account_setup_buttons" /> 92 93 </LinearLayout> 94 </ScrollView> 95