1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2012 Google Inc. All Rights Reserved. -->
3<!-- Inline keyboard layout chrome, which includes the backspace and mode switcher buttons -->
4<merge xmlns:android="http://schemas.android.com/apk/res/android"
5    xmlns:recognizer="http://schemas.android.com/apk/res-auto"
6    android:layout_width="96dp"
7    android:layout_height="96dp"
8    android:gravity="center"
9    android:keepScreenOn="true"
10    android:orientation="vertical" >
11
12    <com.android.inputmethod.leanback.voice.BitmapSoundLevelView
13        android:id="@+id/microphone"
14        android:layout_width="match_parent"
15        android:layout_height="match_parent"
16        recognizer:disabledBackgroundColor="@android:color/transparent"
17        recognizer:enabledBackgroundColor="@android:color/transparent"
18        recognizer:minLevelRadius="28dip"
19        recognizer:primaryLevels="?soundPrimaryLevel"
20        recognizer:trailLevels="?soundTrailLevel" />
21
22    <ImageView
23        android:id="@+id/recognizer_mic_button"
24        android:layout_width="@dimen/action_button_size"
25        android:layout_height="@dimen/action_button_size"
26        android:layout_gravity="center"
27        android:layout_marginLeft="16dp"
28        android:layout_marginTop="16dp"
29        android:scaleType="fitXY"
30        android:src="@drawable/ic_voice_available" >
31
32        <requestFocus />
33    </ImageView>
34
35</merge>
36