1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2014 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 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:orientation="vertical" 21 > 22 <TextView 23 android:text="@string/account_setup_options_mail_check_frequency_label" 24 android:layout_height="wrap_content" 25 android:layout_width="match_parent" 26 style="@style/account_setup_label_text" /> 27 <Spinner 28 android:id="@+id/account_check_frequency" 29 android:layout_height="wrap_content" 30 android:layout_width="match_parent" /> 31 <LinearLayout 32 android:id="@+id/account_sync_window_row" 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:orientation="vertical" 36 android:visibility="gone" > 37 <TextView 38 android:id="@+id/account_sync_window_label" 39 android:text="@string/account_setup_options_mail_window_label" 40 android:layout_height="wrap_content" 41 android:layout_width="match_parent" 42 style="@style/account_setup_label_text" /> 43 <Spinner 44 android:id="@+id/account_sync_window" 45 android:layout_height="wrap_content" 46 android:layout_width="match_parent" /> 47 </LinearLayout> 48 <CheckBox 49 android:id="@+id/account_notify" 50 style="@style/account_setup_checkbox" 51 android:layout_height="wrap_content" 52 android:layout_width="match_parent" 53 android:text="@string/account_setup_options_notify_label" /> 54 <CheckBox 55 android:id="@+id/account_sync_contacts" 56 style="@style/account_setup_checkbox" 57 android:layout_height="wrap_content" 58 android:layout_width="match_parent" 59 android:text="@string/account_setup_options_sync_contacts_label" 60 android:visibility="gone" /> 61 <CheckBox 62 android:id="@+id/account_sync_calendar" 63 style="@style/account_setup_checkbox" 64 android:layout_height="wrap_content" 65 android:layout_width="match_parent" 66 android:text="@string/account_setup_options_sync_calendar_label" 67 android:visibility="gone" /> 68 <CheckBox 69 android:id="@+id/account_sync_email" 70 style="@style/account_setup_checkbox" 71 android:layout_height="wrap_content" 72 android:layout_width="match_parent" 73 android:text="@string/account_setup_options_sync_email_label" /> 74 75 <CheckBox 76 android:id="@+id/account_background_attachments" 77 style="@style/account_setup_checkbox" 78 android:layout_height="wrap_content" 79 android:layout_width="match_parent" 80 android:text="@string/account_setup_options_background_attachments_label" /> 81 </LinearLayout>