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 | 2442e77 | 2011-06-24 14:19:59 +0900 | [diff] [blame] | 25 | <RelativeLayout |
| 26 | android:layout_weight="1.0" |
| 27 | android:layout_width="0dp" |
| 28 | android:layout_height="match_parent" |
| 29 | android:gravity="center" |
| 30 | > |
| 31 | <include |
| 32 | android:id="@+id/word_left" |
| 33 | layout="@layout/candidate_word" /> |
| 34 | <include |
| 35 | android:id="@+id/info_left" |
| 36 | layout="@layout/candidate_info" /> |
| 37 | </RelativeLayout> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 38 | <include |
| 39 | layout="@layout/candidate_divider" /> |
Tadashi G. Takaoka | 2442e77 | 2011-06-24 14:19:59 +0900 | [diff] [blame] | 40 | <RelativeLayout |
| 41 | android:layout_weight="1.0" |
| 42 | android:layout_width="0dp" |
| 43 | android:layout_height="match_parent" |
| 44 | android:gravity="center" |
| 45 | > |
| 46 | <include |
| 47 | android:id="@+id/word_center" |
| 48 | layout="@layout/candidate_word" /> |
| 49 | <include |
| 50 | android:id="@+id/info_center" |
| 51 | layout="@layout/candidate_info" /> |
| 52 | </RelativeLayout> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 53 | <include |
| 54 | layout="@layout/candidate_divider" /> |
| 55 | <LinearLayout |
| 56 | android:orientation="horizontal" |
| 57 | android:layout_weight="1.0" |
| 58 | android:layout_width="0dp" |
Tadashi G. Takaoka | 7fb04fe | 2011-06-26 02:07:07 +0900 | [diff] [blame^] | 59 | android:layout_height="match_parent" |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 60 | android:gravity="center_vertical" |
| 61 | > |
Tadashi G. Takaoka | 2442e77 | 2011-06-24 14:19:59 +0900 | [diff] [blame] | 62 | <RelativeLayout |
| 63 | android:layout_weight="1.0" |
| 64 | android:layout_width="0dp" |
| 65 | android:layout_height="match_parent" |
| 66 | android:gravity="center" |
| 67 | > |
| 68 | <include |
| 69 | android:id="@+id/word_right" |
| 70 | layout="@layout/candidate_word" /> |
| 71 | <include |
| 72 | android:id="@+id/info_right" |
| 73 | layout="@layout/candidate_info" /> |
| 74 | </RelativeLayout> |
Tadashi G. Takaoka | 08a6f2a | 2011-06-15 11:49:57 +0900 | [diff] [blame] | 75 | <!-- Image drawables are set in CandidateView constructor --> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 76 | <ImageButton |
| 77 | android:id="@+id/expand_candidates_pane" |
| 78 | android:layout_width="wrap_content" |
| 79 | android:layout_height="wrap_content" |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 80 | android:visibility="gone" |
Tadashi G. Takaoka | 08a6f2a | 2011-06-15 11:49:57 +0900 | [diff] [blame] | 81 | style="?attr/suggestionsStripBackgroundStyle" /> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 82 | <ImageButton |
| 83 | android:id="@+id/close_candidates_pane" |
| 84 | android:layout_width="wrap_content" |
| 85 | android:layout_height="wrap_content" |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 86 | android:visibility="gone" |
Tadashi G. Takaoka | 08a6f2a | 2011-06-15 11:49:57 +0900 | [diff] [blame] | 87 | style="?attr/suggestionsStripBackgroundStyle" /> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 88 | </LinearLayout> |
| 89 | </merge> |