1<!--
2  Copyright 2012 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:id="@+id/list_item_text"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:padding="@dimen/editor_inset" >
22
23    <TextView
24        android:id="@+id/caption"
25        android:layout_width="@dimen/editor_caption_width"
26        android:layout_height="wrap_content"
27        android:paddingBottom="@dimen/caption_padding_bottom"
28        android:paddingTop="@dimen/caption_padding_top"
29        android:textSize="@dimen/editor_text_size" />
30
31    <EditText
32        android:id="@+id/text_editor"
33        android:layout_width="match_parent"
34        android:layout_height="wrap_content"
35        android:layout_alignBaseline="@id/caption"
36        android:layout_toRightOf="@id/caption"
37        android:imeOptions="actionDone"
38        android:inputType="text"
39        android:paddingTop="0dp"
40        android:textSize="@dimen/editor_text_size"
41        android:visibility="gone" />
42
43    <View
44        android:layout_width="0px"
45        android:layout_height="0px"
46        android:focusable="true"
47        android:focusableInTouchMode="true" />
48
49    <ViewStub
50        android:id="@+id/boolean_editor_stub"
51        android:layout_width="match_parent"
52        android:layout_height="wrap_content"
53        android:layout_alignBaseline="@id/caption"
54        android:layout_toRightOf="@id/caption"
55        android:textSize="@dimen/editor_text_size"
56        android:visibility="gone" />
57
58    <Spinner
59        android:id="@+id/drop_down_editor"
60        android:layout_width="match_parent"
61        android:layout_height="wrap_content"
62        android:layout_alignBaseline="@id/caption"
63        android:layout_toRightOf="@id/caption"
64        android:focusable="true"
65        android:focusableInTouchMode="true"
66        android:visibility="gone" />
67
68    <HorizontalScrollView
69        android:id="@+id/icon_editor_scroller"
70        android:layout_width="match_parent"
71        android:layout_height="wrap_content"
72        android:layout_toRightOf="@id/caption"
73        android:scrollbars="none"
74        android:visibility="gone" >
75
76        <LinearLayout
77            android:id="@+id/icon_editor_layout"
78            android:layout_width="wrap_content"
79            android:layout_height="wrap_content" >
80        </LinearLayout>
81    </HorizontalScrollView>
82
83    <Button
84        android:id="@+id/date_button"
85        android:layout_width="wrap_content"
86        android:layout_height="wrap_content"
87        android:layout_alignBaseline="@id/caption"
88        android:layout_toRightOf="@id/caption"
89        android:textSize="@dimen/editor_text_size"
90        android:visibility="gone" />
91
92    <Button
93        android:id="@+id/time_button"
94        android:layout_width="wrap_content"
95        android:layout_height="wrap_content"
96        android:layout_alignBaseline="@id/caption"
97        android:layout_toRightOf="@id/date_button"
98        android:textSize="@dimen/editor_text_size"
99        android:visibility="gone" />
100
101    <Button
102        android:id="@+id/reset_button"
103        android:layout_width="wrap_content"
104        android:layout_height="wrap_content"
105        android:layout_alignBaseline="@id/caption"
106        android:layout_toRightOf="@id/time_button"
107        android:text="@string/now"
108        android:textSize="@dimen/editor_text_size"
109        android:visibility="gone" />
110
111</RelativeLayout>