| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Copyright (C) 2009 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <com.android.inputmethod.pinyin.CandidatesContainer xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/candidates_container" |
| android:background="@drawable/cands_container_bg" |
| android:orientation="horizontal" |
| android:layout_width="0dip" |
| android:layout_height="0dip"> |
| |
| <ImageButton android:id="@+id/arrow_left_btn" |
| android:background="@drawable/arrow_bg" |
| android:src="@drawable/arrow_left" |
| android:layout_height="fill_parent" |
| android:layout_width="30dip" |
| android:clickable="true" |
| android:layout_alignParentLeft="true"/> |
| |
| <ImageButton android:id="@+id/arrow_right_btn" |
| android:background="@drawable/arrow_bg" |
| android:src="@drawable/arrow_right" |
| android:layout_width="30dip" |
| android:layout_height="fill_parent" |
| android:clickable="true" |
| android:layout_alignParentRight="true"/> |
| |
| <ViewFlipper android:id="@+id/candidate_flipper" |
| android:layout_width="fill_parent" |
| android:layout_height="fill_parent" |
| android:layout_toLeftOf="@id/arrow_right_btn" |
| android:layout_toRightOf="@id/arrow_left_btn"> |
| <view class="com.android.inputmethod.pinyin.CandidateView" |
| android:id="@+id/candidate_view1" |
| android:layout_width="fill_parent" |
| android:layout_height="fill_parent" /> |
| <view class="com.android.inputmethod.pinyin.CandidateView" |
| android:id="@+id/candidate_view2" |
| android:layout_width="fill_parent" |
| android:layout_height="fill_parent" /> |
| </ViewFlipper> |
| </com.android.inputmethod.pinyin.CandidatesContainer> |