The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2008, 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 | <com.android.inputmethod.latin.CandidateViewContainer |
| 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | android:orientation="horizontal" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Amith Yamasani | 6a6075c | 2010-02-03 15:35:49 -0800 | [diff] [blame] | 25 | android:layout_height="@dimen/candidate_strip_height" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 26 | android:background="@drawable/keyboard_suggest_strip" |
| 27 | > |
| 28 | |
| 29 | <LinearLayout |
| 30 | android:id="@+id/candidate_left_parent" |
| 31 | android:layout_width="wrap_content" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 32 | android:layout_height="match_parent" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 33 | android:orientation="horizontal"> |
| 34 | <ImageButton |
| 35 | android:id="@+id/candidate_left" |
| 36 | android:background="@drawable/ic_suggest_scroll_background" |
| 37 | android:src="@drawable/ic_suggest_strip_scroll_left_arrow" |
| 38 | android:layout_width="36dp" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 39 | android:layout_height="match_parent" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 40 | android:clickable="true" |
| 41 | /> |
| 42 | |
| 43 | <ImageView |
| 44 | android:src="@drawable/keyboard_suggest_strip_divider" |
| 45 | android:layout_width="wrap_content" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 46 | android:layout_height="match_parent" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 47 | /> |
| 48 | </LinearLayout> |
| 49 | |
| 50 | <com.android.inputmethod.latin.CandidateView |
| 51 | android:id="@+id/candidates" |
| 52 | android:layout_width="wrap_content" |
Amith Yamasani | ffa3fdd | 2009-08-19 15:16:33 -0700 | [diff] [blame] | 53 | android:layout_height="@dimen/candidate_strip_height" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 54 | android:layout_weight="1" |
| 55 | /> |
| 56 | |
| 57 | <LinearLayout |
| 58 | android:id="@+id/candidate_right_parent" |
| 59 | android:layout_width="wrap_content" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 60 | android:layout_height="match_parent" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 61 | android:clickable="true" |
| 62 | android:orientation="horizontal"> |
| 63 | <ImageView |
| 64 | android:src="@drawable/keyboard_suggest_strip_divider" |
| 65 | android:layout_width="wrap_content" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 66 | android:layout_height="match_parent" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 67 | /> |
| 68 | |
| 69 | <ImageButton |
| 70 | android:id="@+id/candidate_right" |
| 71 | android:background="@drawable/ic_suggest_scroll_background" |
| 72 | android:src="@drawable/ic_suggest_strip_scroll_right_arrow" |
| 73 | android:layout_width="36dp" |
Romain Guy | 6e4ffc1 | 2010-01-08 15:07:13 -0800 | [diff] [blame] | 74 | android:layout_height="match_parent" |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 75 | android:clickable="true" |
| 76 | /> |
| 77 | </LinearLayout> |
| 78 | |
Amith Yamasani | 6a6075c | 2010-02-03 15:35:49 -0800 | [diff] [blame] | 79 | </com.android.inputmethod.latin.CandidateViewContainer> |