Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2011, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <merge |
| 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin" |
| 24 | > |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 25 | <LinearLayout |
Tadashi G. Takaoka | 717a8f5 | 2011-06-27 16:57:18 +0900 | [diff] [blame^] | 26 | android:id="@+id/candidates_strip" |
| 27 | android:layout_width="match_parent" |
Tadashi G. Takaoka | 7fb04fe | 2011-06-26 02:07:07 +0900 | [diff] [blame] | 28 | android:layout_height="match_parent" |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 29 | > |
Tadashi G. Takaoka | 2442e77 | 2011-06-24 14:19:59 +0900 | [diff] [blame] | 30 | <RelativeLayout |
| 31 | android:layout_weight="1.0" |
| 32 | android:layout_width="0dp" |
| 33 | android:layout_height="match_parent" |
| 34 | android:gravity="center" |
| 35 | > |
| 36 | <include |
Tadashi G. Takaoka | 717a8f5 | 2011-06-27 16:57:18 +0900 | [diff] [blame^] | 37 | android:id="@+id/word_left" |
Tadashi G. Takaoka | 2442e77 | 2011-06-24 14:19:59 +0900 | [diff] [blame] | 38 | layout="@layout/candidate_word" /> |
| 39 | <include |
Tadashi G. Takaoka | 717a8f5 | 2011-06-27 16:57:18 +0900 | [diff] [blame^] | 40 | android:id="@+id/info_left" |
Tadashi G. Takaoka | 2442e77 | 2011-06-24 14:19:59 +0900 | [diff] [blame] | 41 | layout="@layout/candidate_info" /> |
| 42 | </RelativeLayout> |
Tadashi G. Takaoka | 717a8f5 | 2011-06-27 16:57:18 +0900 | [diff] [blame^] | 43 | <include |
| 44 | layout="@layout/candidate_divider" /> |
| 45 | <RelativeLayout |
| 46 | android:layout_weight="1.0" |
| 47 | android:layout_width="0dp" |
| 48 | android:layout_height="match_parent" |
| 49 | android:gravity="center" |
| 50 | > |
| 51 | <include |
| 52 | android:id="@+id/word_center" |
| 53 | layout="@layout/candidate_word" /> |
| 54 | <include |
| 55 | android:id="@+id/info_center" |
| 56 | layout="@layout/candidate_info" /> |
| 57 | </RelativeLayout> |
| 58 | <include |
| 59 | layout="@layout/candidate_divider" /> |
| 60 | <LinearLayout |
| 61 | android:orientation="horizontal" |
| 62 | android:layout_weight="1.0" |
| 63 | android:layout_width="0dp" |
| 64 | android:layout_height="match_parent" |
| 65 | android:gravity="center_vertical" |
| 66 | > |
| 67 | <RelativeLayout |
| 68 | android:layout_weight="1.0" |
| 69 | android:layout_width="0dp" |
| 70 | android:layout_height="match_parent" |
| 71 | android:gravity="center" |
| 72 | > |
| 73 | <include |
| 74 | android:id="@+id/word_right" |
| 75 | layout="@layout/candidate_word" /> |
| 76 | <include |
| 77 | android:id="@+id/info_right" |
| 78 | layout="@layout/candidate_info" /> |
| 79 | </RelativeLayout> |
| 80 | <!-- Image drawables are set in CandidateView constructor --> |
| 81 | <ImageButton |
| 82 | android:id="@+id/expand_candidates_pane" |
| 83 | android:layout_width="wrap_content" |
| 84 | android:layout_height="wrap_content" |
| 85 | android:visibility="gone" |
| 86 | style="?attr/suggestionsStripBackgroundStyle" /> |
| 87 | <ImageButton |
| 88 | android:id="@+id/close_candidates_pane" |
| 89 | android:layout_width="wrap_content" |
| 90 | android:layout_height="wrap_content" |
| 91 | android:visibility="gone" |
| 92 | style="?attr/suggestionsStripBackgroundStyle" /> |
| 93 | </LinearLayout> |
| 94 | </LinearLayout> |
| 95 | <LinearLayout |
| 96 | android:id="@+id/touch_to_save" |
| 97 | android:orientation="horizontal" |
| 98 | android:layout_width="match_parent" |
| 99 | android:layout_height="match_parent" |
| 100 | android:visibility="gone" |
| 101 | > |
| 102 | <Button |
| 103 | android:id="@+id/word_to_save" |
| 104 | android:layout_weight="1.0" |
| 105 | android:layout_width="0dp" |
| 106 | android:layout_height="match_parent" |
| 107 | android:textSize="@dimen/candidate_text_size" |
| 108 | android:singleLine="true" |
| 109 | android:ellipsize="middle" |
| 110 | style="?attr/suggestionBackgroundStyle" /> |
| 111 | <include |
| 112 | layout="@layout/candidate_divider" /> |
| 113 | <TextView |
| 114 | android:layout_weight="2.0" |
| 115 | android:layout_width="0dp" |
| 116 | android:layout_height="match_parent" |
| 117 | android:gravity="left|center_vertical" |
| 118 | android:text="@string/hint_add_to_dictionary" |
| 119 | android:textSize="@dimen/candidate_text_size" |
| 120 | android:background="@null" /> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 121 | </LinearLayout> |
| 122 | </merge> |