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 <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_exchange_username_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 <EditText 40 android:id="@+id/account_username" 41 android:inputType="textEmailAddress" 42 android:imeOptions="actionDone" 43 android:layout_height="wrap_content" 44 android:layout_width="match_parent" /> 45 <TextView 46 android:text="@string/account_setup_incoming_password_label" 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 <EditText 52 android:id="@+id/account_password" 53 android:inputType="textPassword" 54 android:imeOptions="actionDone" 55 android:layout_height="wrap_content" 56 android:layout_width="match_parent" /> 57 <!-- This text may be changed in code if the server is IMAP, etc. --> 58 <TextView 59 android:text="@string/account_setup_exchange_server_label" 60 android:layout_height="wrap_content" 61 android:layout_width="match_parent" 62 android:textAppearance="?android:attr/textAppearanceSmall" 63 android:textColor="?android:attr/textColorPrimary" /> 64 <!-- Note: we use inputType=textUri as the closest approximation to a server name --> 65 <EditText 66 android:id="@+id/account_server" 67 android:inputType="textUri" 68 android:imeOptions="actionDone" 69 android:layout_height="wrap_content" 70 android:layout_width="match_parent" /> 71 <CheckBox 72 android:id="@+id/account_ssl" 73 android:layout_height="wrap_content" 74 android:layout_width="match_parent" 75 android:text="@string/account_setup_exchange_ssl_label" /> 76 <CheckBox 77 android:id="@+id/account_trust_certificates" 78 android:layout_height="wrap_content" 79 android:layout_width="match_parent" 80 android:text="@string/account_setup_exchange_trust_certificates_label" /> 81 <TextView 82 android:id="@+id/device_id" 83 android:layout_height="wrap_content" 84 android:layout_width="match_parent" 85 android:paddingTop="5dip" 86 android:paddingBottom="5dip" 87 android:paddingLeft="3dip" 88 android:textAppearance="?android:attr/textAppearanceSmall" 89 android:textColor="?android:attr/textColorTertiary" /> 90 </LinearLayout> 91 92 <RelativeLayout 93 android:layout_width="match_parent" 94 android:layout_height="54dip" 95 android:background="@android:drawable/bottom_bar"> 96 <Button 97 android:id="@+id/next" 98 android:text="@string/next_action" 99 android:layout_height="wrap_content" 100 android:layout_width="wrap_content" 101 android:minWidth="@dimen/button_minWidth" 102 android:drawableRight="@drawable/button_indicator_next" 103 android:layout_alignParentRight="true" 104 android:layout_centerVertical="true" /> 105 </RelativeLayout> 106 </LinearLayout> 107 </ScrollView> 108