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" 24 android:layout_width="fill_parent" 25 android:layout_height="wrap_content" 26 android:background="@drawable/keyboard_suggest_strip" 27 > 28 29 <LinearLayout 30 android:id="@+id/candidate_left_parent" 31 android:layout_width="wrap_content" 32 android:layout_height="fill_parent" 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" 39 android:layout_height="fill_parent" 40 android:clickable="true" 41 /> 42 43 <ImageView 44 android:src="@drawable/keyboard_suggest_strip_divider" 45 android:layout_width="wrap_content" 46 android:layout_height="fill_parent" 47 /> 48 </LinearLayout> 49 50 <com.android.inputmethod.latin.CandidateView 51 android:id="@+id/candidates" 52 android:layout_width="wrap_content" 53 android:layout_height="@dimen/candidate_strip_height" 54 android:layout_weight="1" 55 /> 56 57 <LinearLayout 58 android:id="@+id/candidate_right_parent" 59 android:layout_width="wrap_content" 60 android:layout_height="fill_parent" 61 android:clickable="true" 62 android:orientation="horizontal"> 63 <ImageView 64 android:src="@drawable/keyboard_suggest_strip_divider" 65 android:layout_width="wrap_content" 66 android:layout_height="fill_parent" 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" 74 android:layout_height="fill_parent" 75 android:clickable="true" 76 /> 77 </LinearLayout> 78 79</com.android.inputmethod.latin.CandidateViewContainer>