1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 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 <!-- Exchange server settings - default - see layout-xlarge/ for XL variant --> 18 <LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:layout_weight="1" 23 android:orientation="vertical" > 24 <TextView 25 android:text="@string/account_setup_exchange_username_label" 26 android:layout_height="wrap_content" 27 android:layout_width="match_parent" 28 android:textAppearance="?android:attr/textAppearanceSmall" 29 android:textColor="?android:attr/textColorPrimary" /> 30 <EditText 31 android:id="@+id/account_username" 32 android:inputType="textEmailAddress" 33 android:imeOptions="actionNext" 34 android:layout_height="wrap_content" 35 android:layout_width="match_parent" 36 android:contentDescription="@string/account_setup_exchange_username_label" /> 37 <TextView 38 android:text="@string/account_setup_incoming_password_label" 39 android:layout_height="wrap_content" 40 android:layout_width="match_parent" 41 android:textAppearance="?android:attr/textAppearanceSmall" 42 android:textColor="?android:attr/textColorPrimary" /> 43 <EditText 44 android:id="@+id/account_password" 45 android:inputType="textPassword" 46 android:imeOptions="actionNext" 47 android:layout_height="wrap_content" 48 android:layout_width="match_parent" /> 49 <!-- This text may be changed in code if the server is IMAP, etc. --> 50 <TextView 51 android:text="@string/account_setup_exchange_server_label" 52 android:layout_height="wrap_content" 53 android:layout_width="match_parent" 54 android:textAppearance="?android:attr/textAppearanceSmall" 55 android:textColor="?android:attr/textColorPrimary" /> 56 <!-- Note: we use inputType=textUri as the closest approximation to a server name --> 57 <EditText 58 android:id="@+id/account_server" 59 android:inputType="textUri" 60 android:imeOptions="actionDone" 61 android:layout_height="wrap_content" 62 android:layout_width="match_parent" 63 android:contentDescription="@string/account_setup_exchange_server_label" /> 64 <CheckBox 65 android:id="@+id/account_ssl" 66 android:layout_height="wrap_content" 67 android:layout_width="match_parent" 68 android:text="@string/account_setup_exchange_ssl_label" /> 69 <CheckBox 70 android:id="@+id/account_trust_certificates" 71 android:layout_height="wrap_content" 72 android:layout_width="match_parent" 73 android:text="@string/account_setup_exchange_trust_certificates_label" /> 74 <include 75 android:id="@+id/client_certificate_selector" 76 layout="@layout/client_certificate_selector" 77 android:visibility="gone" /> 78 <TextView 79 android:layout_height="wrap_content" 80 android:layout_width="wrap_content" 81 android:layout_marginRight="16dip" 82 android:text="@string/account_setup_incoming_port_label" /> 83 <EditText 84 android:id="@+id/account_port" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:contentDescription="@string/account_setup_incoming_port_label" 88 android:inputType="number" 89 android:imeOptions="actionDone" /> 90 <TextView 91 android:text="@string/account_setup_exchange_device_id_label" 92 android:layout_height="wrap_content" 93 android:layout_width="match_parent" 94 android:textColor="?android:attr/textColorPrimary" /> 95 <TextView 96 android:id="@+id/device_id" 97 android:layout_height="wrap_content" 98 android:layout_width="match_parent" 99 android:textAppearance="?android:attr/textAppearanceMedium" 100 android:textColor="#ffbebebe" /> 101 </LinearLayout> 102