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 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content"> 20 21 <LinearLayout 22 android:orientation="vertical" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:padding="15dip"> 26 27 <TextView android:id="@+id/error" 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:textColor="@color/red" 31 android:textStyle="bold" 32 android:visibility="gone" /> 33 34 <TextView 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:text="@string/credential_name" 38 android:textAppearance="?android:attr/textAppearanceMedium" /> 39 40 <EditText android:id="@+id/credential_name" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:singleLine="True"/> 44 45 <LinearLayout 46 android:id="@+id/credential_usage_group" 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content" 49 android:orientation="vertical" > 50 51 <TextView 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:paddingTop="12dp" 55 android:text="@string/credential_usage_label" 56 android:textAppearance="?android:attr/textAppearanceMedium" /> 57 58 <Spinner 59 android:id="@+id/credential_usage" 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:entries="@array/credential_usage" /> 63 64 </LinearLayout> 65 66 <TextView 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:paddingTop="12dp" 70 android:text="@string/credential_info" /> 71 72 <TextView android:id="@+id/credential_info" 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" /> 75 76 </LinearLayout> 77</ScrollView> 78