summaryrefslogtreecommitdiff
path: root/res/layout/candidates_container.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/candidates_container.xml')
-rw-r--r--res/layout/candidates_container.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/res/layout/candidates_container.xml b/res/layout/candidates_container.xml
new file mode 100644
index 0000000..eda7e28
--- /dev/null
+++ b/res/layout/candidates_container.xml
@@ -0,0 +1,53 @@
+<?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>