blob: bb11e057cef839e841029c4952e9e376beacb471 [file] [log] [blame]
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +09001<?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. Takaoka2442e772011-06-24 14:19:59 +090025 <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. Takaoka86e815a2011-06-14 16:28:57 +090038 <include
39 layout="@layout/candidate_divider" />
Tadashi G. Takaoka2442e772011-06-24 14:19:59 +090040 <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. Takaoka86e815a2011-06-14 16:28:57 +090053 <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. Takaoka7fb04fe2011-06-26 02:07:07 +090059 android:layout_height="match_parent"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090060 android:gravity="center_vertical"
61 >
Tadashi G. Takaoka2442e772011-06-24 14:19:59 +090062 <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. Takaoka08a6f2a2011-06-15 11:49:57 +090075 <!-- Image drawables are set in CandidateView constructor -->
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090076 <ImageButton
77 android:id="@+id/expand_candidates_pane"
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090080 android:visibility="gone"
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +090081 style="?attr/suggestionsStripBackgroundStyle" />
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090082 <ImageButton
83 android:id="@+id/close_candidates_pane"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090086 android:visibility="gone"
Tadashi G. Takaoka08a6f2a2011-06-15 11:49:57 +090087 style="?attr/suggestionsStripBackgroundStyle" />
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090088 </LinearLayout>
89</merge>