blob: aefdb8cada4efca7207e759aba7e39b46cc35c3d [file] [log] [blame]
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2011, 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<merge
Jean Chalardb11339b2014-01-08 16:52:04 +090022 xmlns:android="http://schemas.android.com/apk/res/android">
Tadashi G. Takaoka874a6002014-06-09 23:25:02 +090023 <!-- Provide audio and haptic feedback by ourselves based on the keyboard settings.
24 We just need to ignore the system's audio and haptic feedback settings. -->
Tadashi G. Takaokac4123092011-09-05 16:15:28 +090025 <LinearLayout
26 android:id="@+id/suggestions_strip"
27 android:orientation="horizontal"
Tadashi G. Takaoka717a8f52011-06-27 16:57:18 +090028 android:layout_width="match_parent"
Tadashi G. Takaoka2b479cc2014-05-07 16:19:59 +090029 android:layout_height="match_parent"
30 android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin"
Tadashi G. Takaoka874a6002014-06-09 23:25:02 +090031 android:layout_marginRight="@dimen/config_suggestions_strip_horizontal_margin"
32 android:hapticFeedbackEnabled="false"
33 android:soundEffectsEnabled="false" />
34 <!-- Provide audio and haptic feedback by ourselves based on the keyboard settings.
35 We just need to ignore the system's audio and haptic feedback settings. -->
Tadashi G. Takaoka148dedb2014-01-27 14:50:02 +090036 <LinearLayout
37 android:id="@+id/add_to_dictionary_strip"
38 android:orientation="horizontal"
39 android:layout_width="match_parent"
40 android:layout_height="match_parent"
Tadashi G. Takaoka2b479cc2014-05-07 16:19:59 +090041 android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin"
42 android:layout_marginRight="@dimen/config_suggestions_strip_horizontal_margin"
Tadashi G. Takaoka874a6002014-06-09 23:25:02 +090043 android:hapticFeedbackEnabled="false"
44 android:soundEffectsEnabled="false">
Tadashi G. Takaokac2ea3f72014-01-28 19:22:27 +090045 <TextView
46 android:id="@+id/word_to_save"
47 android:layout_width="match_parent"
48 android:layout_height="match_parent"
49 style="?attr/suggestionWordStyle" />
Tadashi G. Takaoka148dedb2014-01-27 14:50:02 +090050 <include
Tadashi G. Takaoka2637be22014-08-13 14:52:36 +090051 android:id="@+id/word_to_save_divider"
Tadashi G. Takaoka148dedb2014-01-27 14:50:02 +090052 layout="@layout/suggestion_divider" />
Tadashi G. Takaokac2ea3f72014-01-28 19:22:27 +090053 <TextView
54 android:id="@+id/hint_add_to_dictionary"
55 android:layout_width="match_parent"
56 android:layout_height="match_parent"
Tadashi G. Takaoka2637be22014-08-13 14:52:36 +090057 android:gravity="center_vertical|start"
Tadashi G. Takaokac2ea3f72014-01-28 19:22:27 +090058 style="?attr/suggestionWordStyle" />
Tadashi G. Takaoka148dedb2014-01-27 14:50:02 +090059 </LinearLayout>
Tadashi G. Takaoka874a6002014-06-09 23:25:02 +090060 <!-- Provide audio and haptic feedback by ourselves based on the keyboard settings.
61 We just need to ignore the system's audio and haptic feedback settings. -->
Tadashi G. Takaoka8a296e42014-01-28 16:19:29 +090062 <LinearLayout
63 android:id="@+id/important_notice_strip"
64 android:orientation="horizontal"
65 android:layout_width="match_parent"
Tadashi G. Takaoka2b479cc2014-05-07 16:19:59 +090066 android:layout_height="match_parent"
67 android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin"
Tadashi G. Takaoka874a6002014-06-09 23:25:02 +090068 android:layout_marginRight="@dimen/config_suggestions_strip_horizontal_margin"
69 android:hapticFeedbackEnabled="false"
70 android:soundEffectsEnabled="false" >
Tadashi G. Takaoka8a296e42014-01-28 16:19:29 +090071 <TextView
72 android:id="@+id/important_notice_title"
Tadashi G. Takaoka9706f9a2014-02-03 15:08:07 +090073 android:layout_width="match_parent"
Tadashi G. Takaoka8a296e42014-01-28 16:19:29 +090074 android:layout_height="match_parent"
Tadashi G. Takaoka28c02b42014-02-17 11:28:48 +090075 android:padding="6sp"
Tadashi G. Takaoka36d606f2014-02-14 19:10:47 +090076 android:textSize="16sp"
Tadashi G. Takaoka8a296e42014-01-28 16:19:29 +090077 style="?attr/suggestionWordStyle" />
78 </LinearLayout>
Tadashi G. Takaokac41d2612014-05-08 10:57:48 +090079 <ImageButton
80 android:id="@+id/suggestions_strip_voice_key"
81 android:layout_width="@dimen/config_suggestions_strip_edge_key_width"
82 android:layout_height="fill_parent"
83 android:layout_alignParentEnd="true"
84 android:layout_alignParentRight="true"
85 android:layout_centerVertical="true"
Tadashi G. Takaoka06d1cdd2014-05-13 15:53:01 +090086 android:contentDescription="@string/spoken_description_mic"
Tadashi G. Takaokac41d2612014-05-08 10:57:48 +090087 style="?attr/suggestionWordStyle" />
Tadashi G. Takaoka86e815a2011-06-14 16:28:57 +090088</merge>