Home | History | Annotate | Download | only in layout
      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
     22     xmlns:android="http://schemas.android.com/apk/res/android">
     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. -->
     25     <LinearLayout
     26         android:id="@+id/suggestions_strip"
     27         android:orientation="horizontal"
     28         android:layout_width="match_parent"
     29         android:layout_height="match_parent"
     30         android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin"
     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. -->
     36     <!-- Provide audio and haptic feedback by ourselves based on the keyboard settings.
     37          We just need to ignore the system's audio and haptic feedback settings. -->
     38     <LinearLayout
     39         android:id="@+id/important_notice_strip"
     40         android:orientation="horizontal"
     41         android:layout_width="match_parent"
     42         android:layout_height="match_parent"
     43         android:layout_marginLeft="@dimen/config_suggestions_strip_horizontal_margin"
     44         android:layout_marginRight="@dimen/config_suggestions_strip_horizontal_margin"
     45         android:hapticFeedbackEnabled="false"
     46         android:soundEffectsEnabled="false" >
     47         <TextView
     48             android:id="@+id/important_notice_title"
     49             android:layout_width="match_parent"
     50             android:layout_height="match_parent"
     51             android:padding="6sp"
     52             android:textSize="16sp"
     53             style="?attr/suggestionWordStyle" />
     54     </LinearLayout>
     55     <ImageButton
     56         android:id="@+id/suggestions_strip_voice_key"
     57         android:layout_width="@dimen/config_suggestions_strip_edge_key_width"
     58         android:layout_height="fill_parent"
     59         android:layout_alignParentEnd="true"
     60         android:layout_alignParentRight="true"
     61         android:layout_centerVertical="true"
     62         android:contentDescription="@string/spoken_description_mic"
     63         style="?attr/suggestionWordStyle" />
     64 </merge>
     65