1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
<!--
Copyright 2012 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_item_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/editor_inset" >
<TextView
android:id="@+id/caption"
android:layout_width="@dimen/editor_caption_width"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/caption_padding_bottom"
android:paddingTop="@dimen/caption_padding_top"
android:textSize="@dimen/editor_text_size" />
<EditText
android:id="@+id/text_editor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/caption"
android:layout_toRightOf="@id/caption"
android:imeOptions="actionDone"
android:inputType="text"
android:paddingTop="0dp"
android:textSize="@dimen/editor_text_size"
android:visibility="gone" />
<View
android:layout_width="0px"
android:layout_height="0px"
android:focusable="true"
android:focusableInTouchMode="true" />
<ViewStub
android:id="@+id/boolean_editor_stub"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/caption"
android:layout_toRightOf="@id/caption"
android:textSize="@dimen/editor_text_size"
android:visibility="gone" />
<Spinner
android:id="@+id/drop_down_editor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/caption"
android:layout_toRightOf="@id/caption"
android:focusable="true"
android:focusableInTouchMode="true"
android:visibility="gone" />
<HorizontalScrollView
android:id="@+id/icon_editor_scroller"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/caption"
android:scrollbars="none"
android:visibility="gone" >
<LinearLayout
android:id="@+id/icon_editor_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
</LinearLayout>
</HorizontalScrollView>
<Button
android:id="@+id/date_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/caption"
android:layout_toRightOf="@id/caption"
android:textSize="@dimen/editor_text_size"
android:visibility="gone" />
<Button
android:id="@+id/time_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/caption"
android:layout_toRightOf="@id/date_button"
android:textSize="@dimen/editor_text_size"
android:visibility="gone" />
<Button
android:id="@+id/reset_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/caption"
android:layout_toRightOf="@id/time_button"
android:text="@string/now"
android:textSize="@dimen/editor_text_size"
android:visibility="gone" />
</RelativeLayout>
|