2010-12-06 12:26:38 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
/*
|
|
|
|
**
|
2011-09-01 06:54:28 +01:00
|
|
|
** Copyright 2011, The Android Open Source Project
|
2010-12-06 12:26:38 +00:00
|
|
|
**
|
|
|
|
** 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.
|
|
|
|
*/
|
|
|
|
-->
|
|
|
|
|
2012-10-15 21:59:35 +01:00
|
|
|
<!-- Provide a haptic feedback by ourselves based on the keyboard settings.
|
|
|
|
We just need to ignore the system's haptic feedback settings. -->
|
2011-06-30 02:09:21 +01:00
|
|
|
<TextView
|
2010-12-06 12:26:38 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-06-25 19:00:51 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2011-09-01 06:54:28 +01:00
|
|
|
android:minWidth="@dimen/suggestion_min_width"
|
|
|
|
android:textSize="@dimen/suggestion_text_size"
|
2011-06-30 02:09:21 +01:00
|
|
|
android:gravity="center"
|
2011-09-01 06:54:28 +01:00
|
|
|
android:paddingLeft="@dimen/suggestion_padding"
|
2011-06-25 19:00:51 +01:00
|
|
|
android:paddingTop="0dp"
|
2011-09-01 06:54:28 +01:00
|
|
|
android:paddingRight="@dimen/suggestion_padding"
|
2011-06-25 19:00:51 +01:00
|
|
|
android:paddingBottom="0dp"
|
2012-10-15 21:59:35 +01:00
|
|
|
android:hapticFeedbackEnabled="false"
|
2011-06-30 02:09:21 +01:00
|
|
|
android:focusable="false"
|
|
|
|
android:clickable="false"
|
2011-06-25 19:00:51 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:ellipsize="none"
|
2013-08-27 07:15:44 +01:00
|
|
|
android:background="?attr/suggestionBackground" />
|