• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_default"
64            android:layout_height="wrap_content"
65            android:layout_width="match_parent"
66            android:text="@string/account_setup_options_default_label" />
67        <CheckBox
68            android:id="@+id/account_notify"
69            android:layout_height="wrap_content"
70            android:layout_width="match_parent"
71            android:text="@string/account_setup_options_notify_label" />
72        <CheckBox
73            android:id="@+id/account_sync_contacts"
74            android:layout_height="wrap_content"
75            android:layout_width="match_parent"
76            android:text="@string/account_setup_options_sync_contacts_label"
77            android:visibility="gone" />
78        <CheckBox
79            android:id="@+id/account_sync_calendar"
80            android:layout_height="wrap_content"
81            android:layout_width="match_parent"
82            android:text="@string/account_setup_options_sync_calendar_label"
83            android:visibility="gone" />
84        <CheckBox
85            android:id="@+id/account_sync_email"
86            android:layout_height="wrap_content"
87            android:layout_width="match_parent"
88            android:text="@string/account_setup_options_sync_email_label" />
89
90        <CheckBox
91            android:id="@+id/account_background_attachments"
92            android:layout_height="wrap_content"
93            android:layout_width="match_parent"
94            android:text="@string/account_setup_options_background_attachments_label" />
95
96        <include layout="@layout/account_setup_buttons" />
97
98    </LinearLayout>
99</ScrollView>
100