Home | History | Annotate | Download | only in layout
      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:orientation="vertical" >
     27 
     28         <LinearLayout
     29             android:layout_width="match_parent"
     30             android:layout_height="wrap_content"
     31             android:layout_weight="1"
     32             android:orientation="vertical" >
     33             <TextView
     34                 android:text="@string/account_setup_options_mail_check_frequency_label"
     35                 android:layout_height="wrap_content"
     36                 android:layout_width="match_parent"
     37                 android:textAppearance="?android:attr/textAppearanceSmall"
     38                 android:textColor="?android:attr/textColorPrimary" />
     39             <Spinner
     40                 android:id="@+id/account_check_frequency"
     41                 android:layout_height="wrap_content"
     42                 android:layout_width="match_parent" />
     43             <TextView
     44                 android:id="@+id/account_sync_window_label"
     45                 android:text="@string/account_setup_options_mail_window_label"
     46                 android:visibility="gone"
     47                 android:layout_height="wrap_content"
     48                 android:layout_width="match_parent"
     49                 android:textAppearance="?android:attr/textAppearanceSmall"
     50                 android:textColor="?android:attr/textColorPrimary" />
     51             <Spinner
     52                 android:id="@+id/account_sync_window"
     53                 android:visibility="gone"
     54                 android:layout_height="wrap_content"
     55                 android:layout_width="match_parent" />
     56             <CheckBox
     57                 android:id="@+id/account_default"
     58                 android:layout_height="wrap_content"
     59                 android:layout_width="match_parent"
     60                 android:text="@string/account_setup_options_default_label" />
     61             <CheckBox
     62                 android:id="@+id/account_notify"
     63                 android:layout_height="wrap_content"
     64                 android:layout_width="match_parent"
     65                 android:text="@string/account_setup_options_notify_label" />
     66             <CheckBox
     67                 android:id="@+id/account_sync_contacts"
     68                 android:layout_height="wrap_content"
     69                 android:layout_width="match_parent"
     70                 android:text="@string/account_setup_options_sync_contacts_label"
     71                 android:visibility="gone" />
     72             <CheckBox
     73                 android:id="@+id/account_sync_calendar"
     74                 android:layout_height="wrap_content"
     75                 android:layout_width="match_parent"
     76                 android:text="@string/account_setup_options_sync_calendar_label"
     77                 android:visibility="gone" />
     78         </LinearLayout>
     79 
     80         <RelativeLayout
     81             android:layout_width="match_parent"
     82             android:layout_height="54dip"
     83             android:background="@android:drawable/bottom_bar">
     84             <Button
     85                 android:id="@+id/next"
     86                 android:text="@string/next_action"
     87                 android:layout_height="wrap_content"
     88                 android:layout_width="wrap_content"
     89                 android:minWidth="@dimen/button_minWidth"
     90                 android:drawableRight="@drawable/button_indicator_next"
     91                 android:layout_alignParentRight="true"
     92                 android:layout_centerVertical="true" />
     93         </RelativeLayout>
     94     </LinearLayout>
     95 </ScrollView>
     96