1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:orientation="vertical" 19 android:padding="10dip" 20 android:layout_width="fill_parent" 21 android:layout_height="wrap_content"> 22 23 <LinearLayout 24 android:orientation="horizontal" 25 android:layout_width="fill_parent" 26 android:layout_height="wrap_content"> 27 28 <TextView 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:text="@string/details_title_label" 32 android:textSize="10sp" 33 /> 34 35 </LinearLayout> 36 37 <EditText 38 android:id="@+id/title" 39 android:layout_width="fill_parent" 40 android:layout_height="wrap_content" 41 android:text="@string/details_title_text" 42 android:autoText="true" 43 android:capitalize="words" 44 android:textSize="10sp" 45 android:textColor="#FF661700" 46 /> 47 48 <TextView 49 android:layout_width="fill_parent" 50 android:layout_height="wrap_content" 51 android:text="@string/details_description_label" 52 android:textSize="10sp" 53 /> 54 55 <EditText 56 android:id="@+id/description" 57 android:layout_width="fill_parent" 58 android:layout_height="wrap_content" 59 android:text="@string/details_description_text" 60 android:autoText="true" 61 android:capitalize="sentences" 62 android:textSize="10sp" 63 android:textColor="#FF661700" 64 /> 65 66 <TextView android:id="@+id/tags_label" 67 android:layout_width="fill_parent" 68 android:layout_height="wrap_content" 69 android:text="@string/details_tags_label" 70 android:textSize="10sp" 71 android:visibility="gone" 72 /> 73 74 <EditText 75 android:id="@+id/tags" 76 android:layout_width="fill_parent" 77 android:layout_height="wrap_content" 78 android:text="@string/details_tags_text" 79 android:textSize="10sp" 80 android:textColor="#FF661700" 81 android:autoText="false" 82 android:capitalize="none" 83 android:visibility="gone" 84 /> 85 86 <LinearLayout android:id="@+id/categories" 87 android:orientation="horizontal" 88 android:visibility="gone" 89 android:layout_width="fill_parent" 90 android:layout_height="wrap_content"> 91 92 <TextView 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:text="@string/details_category_label" 96 android:textSize="10sp" 97 /> 98 99 <Spinner android:id="@+id/category" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:drawSelectorOnTop="false" 103 android:textSize="10sp" 104 /> 105 </LinearLayout> 106 107 <LinearLayout android:id="@+id/languages" 108 android:orientation="horizontal" 109 android:visibility="gone" 110 android:layout_width="fill_parent" 111 android:layout_height="wrap_content"> 112 113 <TextView 114 android:layout_width="wrap_content" 115 android:layout_height="wrap_content" 116 android:text="@string/details_language_label" 117 android:textSize="10sp" 118 /> 119 120 <Spinner android:id="@+id/language" 121 android:layout_width="wrap_content" 122 android:layout_height="wrap_content" 123 android:drawSelectorOnTop="false" 124 android:textSize="10sp" 125 /> 126 </LinearLayout> 127 128 <LinearLayout 129 android:orientation="horizontal" 130 android:layout_width="fill_parent" 131 android:layout_height="wrap_content"> 132 133 <RadioGroup android:id="@+id/publicprivate" 134 android:layout_width="wrap_content" 135 android:layout_height="wrap_content" 136 android:orientation="horizontal"> 137 <RadioButton android:id="@+id/publicView" 138 android:layout_width="wrap_content" 139 android:layout_height="wrap_content" 140 android:checked="false" 141 android:text="@string/details_publicView_text" 142 /> 143 144 <RadioButton android:id="@+id/privateView" 145 android:layout_width="wrap_content" 146 android:layout_height="wrap_content" 147 android:checked="false" 148 android:text="@string/details_privateView_text" 149 /> 150 </RadioGroup> 151 152 <Button android:id="@+id/save" 153 android:layout_width="wrap_content" 154 android:layout_height="wrap_content" 155 android:text="@string/details_save_text" 156 android:layout_alignParentRight="true" 157 /> 158 </LinearLayout> 159</LinearLayout> 160