2009-03-13 22:11:42 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
|
|
|
** Copyright 2008, 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.latin.CandidateViewContainer
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="horizontal"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_width="match_parent"
|
2010-02-03 23:35:49 +00:00
|
|
|
android:layout_height="@dimen/candidate_strip_height"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:background="@drawable/keyboard_suggest_strip"
|
|
|
|
>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/candidate_left_parent"
|
|
|
|
android:layout_width="wrap_content"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_height="match_parent"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/candidate_left"
|
|
|
|
android:background="@drawable/ic_suggest_scroll_background"
|
|
|
|
android:src="@drawable/ic_suggest_strip_scroll_left_arrow"
|
|
|
|
android:layout_width="36dp"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_height="match_parent"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:clickable="true"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:src="@drawable/keyboard_suggest_strip_divider"
|
|
|
|
android:layout_width="wrap_content"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_height="match_parent"
|
2009-03-13 22:11:42 +00:00
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<com.android.inputmethod.latin.CandidateView
|
|
|
|
android:id="@+id/candidates"
|
|
|
|
android:layout_width="wrap_content"
|
2009-08-19 22:16:33 +00:00
|
|
|
android:layout_height="@dimen/candidate_strip_height"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:layout_weight="1"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/candidate_right_parent"
|
|
|
|
android:layout_width="wrap_content"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_height="match_parent"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:clickable="true"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
|
|
android:src="@drawable/keyboard_suggest_strip_divider"
|
|
|
|
android:layout_width="wrap_content"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_height="match_parent"
|
2009-03-13 22:11:42 +00:00
|
|
|
/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/candidate_right"
|
|
|
|
android:background="@drawable/ic_suggest_scroll_background"
|
|
|
|
android:src="@drawable/ic_suggest_strip_scroll_right_arrow"
|
|
|
|
android:layout_width="36dp"
|
2010-01-08 23:07:13 +00:00
|
|
|
android:layout_height="match_parent"
|
2009-03-13 22:11:42 +00:00
|
|
|
android:clickable="true"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2010-02-03 23:35:49 +00:00
|
|
|
</com.android.inputmethod.latin.CandidateViewContainer>
|