Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 1 | <?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 Chalard | b11339b | 2014-01-08 16:52:04 +0900 | [diff] [blame] | 22 | xmlns:android="http://schemas.android.com/apk/res/android"> |
Tadashi G. Takaoka | 874a600 | 2014-06-09 23:25:02 +0900 | [diff] [blame] | 23 | <!-- 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. Takaoka | c412309 | 2011-09-05 16:15:28 +0900 | [diff] [blame] | 25 | <LinearLayout |
| 26 | android:id="@+id/suggestions_strip" |
| 27 | android:orientation="horizontal" |
Tadashi G. Takaoka | 717a8f5 | 2011-06-27 16:57:18 +0900 | [diff] [blame] | 28 | android:layout_width="match_parent" |
Tadashi G. Takaoka | 2b479cc | 2014-05-07 16:19:59 +0900 | [diff] [blame] | 29 | android:layout_height="match_parent" |
| 30 | android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin" |
Tadashi G. Takaoka | 874a600 | 2014-06-09 23:25:02 +0900 | [diff] [blame] | 31 | 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. Takaoka | 148dedb | 2014-01-27 14:50:02 +0900 | [diff] [blame] | 36 | <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. Takaoka | 2b479cc | 2014-05-07 16:19:59 +0900 | [diff] [blame] | 41 | android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin" |
| 42 | android:layout_marginRight="@dimen/config_suggestions_strip_horizontal_margin" |
Tadashi G. Takaoka | 874a600 | 2014-06-09 23:25:02 +0900 | [diff] [blame] | 43 | android:hapticFeedbackEnabled="false" |
| 44 | android:soundEffectsEnabled="false"> |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 45 | <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. Takaoka | 148dedb | 2014-01-27 14:50:02 +0900 | [diff] [blame] | 50 | <include |
| 51 | layout="@layout/suggestion_divider" /> |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 52 | <TextView |
| 53 | android:id="@+id/hint_add_to_dictionary" |
| 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="match_parent" |
Tadashi G. Takaoka | 9b1a668 | 2014-01-30 16:52:29 +0900 | [diff] [blame] | 56 | android:textAlignment="viewStart" |
Tadashi G. Takaoka | c2ea3f7 | 2014-01-28 19:22:27 +0900 | [diff] [blame] | 57 | style="?attr/suggestionWordStyle" /> |
Tadashi G. Takaoka | 148dedb | 2014-01-27 14:50:02 +0900 | [diff] [blame] | 58 | </LinearLayout> |
Tadashi G. Takaoka | 874a600 | 2014-06-09 23:25:02 +0900 | [diff] [blame] | 59 | <!-- Provide audio and haptic feedback by ourselves based on the keyboard settings. |
| 60 | We just need to ignore the system's audio and haptic feedback settings. --> |
Tadashi G. Takaoka | 8a296e4 | 2014-01-28 16:19:29 +0900 | [diff] [blame] | 61 | <LinearLayout |
| 62 | android:id="@+id/important_notice_strip" |
| 63 | android:orientation="horizontal" |
| 64 | android:layout_width="match_parent" |
Tadashi G. Takaoka | 2b479cc | 2014-05-07 16:19:59 +0900 | [diff] [blame] | 65 | android:layout_height="match_parent" |
| 66 | android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin" |
Tadashi G. Takaoka | 874a600 | 2014-06-09 23:25:02 +0900 | [diff] [blame] | 67 | android:layout_marginRight="@dimen/config_suggestions_strip_horizontal_margin" |
| 68 | android:hapticFeedbackEnabled="false" |
| 69 | android:soundEffectsEnabled="false" > |
Tadashi G. Takaoka | 8a296e4 | 2014-01-28 16:19:29 +0900 | [diff] [blame] | 70 | <TextView |
| 71 | android:id="@+id/important_notice_title" |
Tadashi G. Takaoka | 9706f9a | 2014-02-03 15:08:07 +0900 | [diff] [blame] | 72 | android:layout_width="match_parent" |
Tadashi G. Takaoka | 8a296e4 | 2014-01-28 16:19:29 +0900 | [diff] [blame] | 73 | android:layout_height="match_parent" |
Tadashi G. Takaoka | 28c02b4 | 2014-02-17 11:28:48 +0900 | [diff] [blame] | 74 | android:padding="6sp" |
Tadashi G. Takaoka | 36d606f | 2014-02-14 19:10:47 +0900 | [diff] [blame] | 75 | android:textSize="16sp" |
Tadashi G. Takaoka | 8a296e4 | 2014-01-28 16:19:29 +0900 | [diff] [blame] | 76 | style="?attr/suggestionWordStyle" /> |
| 77 | </LinearLayout> |
Tadashi G. Takaoka | c41d261 | 2014-05-08 10:57:48 +0900 | [diff] [blame] | 78 | <ImageButton |
| 79 | android:id="@+id/suggestions_strip_voice_key" |
| 80 | android:layout_width="@dimen/config_suggestions_strip_edge_key_width" |
| 81 | android:layout_height="fill_parent" |
| 82 | android:layout_alignParentEnd="true" |
| 83 | android:layout_alignParentRight="true" |
| 84 | android:layout_centerVertical="true" |
Tadashi G. Takaoka | 06d1cdd | 2014-05-13 15:53:01 +0900 | [diff] [blame] | 85 | android:contentDescription="@string/spoken_description_mic" |
Tadashi G. Takaoka | c41d261 | 2014-05-08 10:57:48 +0900 | [diff] [blame] | 86 | style="?attr/suggestionWordStyle" /> |
Tadashi G. Takaoka | 86e815a | 2011-06-14 16:28:57 +0900 | [diff] [blame] | 87 | </merge> |