Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** |
| 5 | ** Copyright 2009, 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 | |
| 22 | <LinearLayout |
| 23 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 24 | android:orientation="vertical" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:layout_width="wrap_content" |
| 27 | android:background="@android:color/black" |
| 28 | android:paddingBottom="0dip" |
| 29 | android:paddingLeft="0dip" |
| 30 | android:paddingRight="0dip" |
| 31 | > |
| 32 | |
| 33 | <LinearLayout |
| 34 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 35 | android:id="@+id/main_image" |
| 36 | android:orientation="vertical" |
| 37 | android:background="@drawable/voice_ime_background" |
| 38 | android:scaleType="fitXY" |
| 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="180dip" |
| 41 | android:paddingBottom="2dip" |
| 42 | android:paddingTop="2dip" |
| 43 | > |
| 44 | |
| 45 | <TextView android:id="@+id/text" |
| 46 | android:text="@string/voice_initializing" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_marginTop="15dip" |
| 50 | android:textSize="28sp" |
| 51 | android:textColor="#ffffff" |
| 52 | android:layout_gravity="center_horizontal" |
| 53 | /> |
| 54 | |
| 55 | <ImageView android:id="@+id/image" |
| 56 | android:layout_height="wrap_content" |
| 57 | android:layout_width="wrap_content" |
| 58 | android:layout_marginTop="20dip" |
| 59 | android:layout_gravity="center_horizontal" |
| 60 | android:src="@drawable/mic_slash" |
| 61 | /> |
| 62 | |
| 63 | <ProgressBar android:id="@+id/progress" |
| 64 | android:layout_height="60dip" |
| 65 | android:layout_width="60dip" |
| 66 | android:layout_marginTop="20dip" |
| 67 | android:layout_gravity="center_horizontal" |
| 68 | android:visibility="gone" |
| 69 | android:indeterminate="true" |
Amith Yamasani | 81c5229 | 2010-03-07 07:27:05 -0800 | [diff] [blame] | 70 | android:indeterminateOnly="false" |
Mike LeBeau | 466741d | 2010-01-16 12:21:23 -0800 | [diff] [blame] | 71 | /> |
| 72 | |
| 73 | |
| 74 | |
| 75 | </LinearLayout> |
| 76 | |
| 77 | <LinearLayout android:id="@+id/button" |
| 78 | android:orientation="vertical" |
| 79 | android:background="@drawable/ok_cancel" |
| 80 | android:scaleType="fitXY" |
| 81 | android:layout_width="match_parent" |
| 82 | android:layout_height="42dip" |
| 83 | android:paddingLeft="1dip" |
| 84 | android:paddingRight="1dip" |
| 85 | > |
| 86 | |
| 87 | <TextView android:id="@+id/button_text" |
| 88 | android:text="@string/cancel" |
| 89 | android:layout_height="wrap_content" |
| 90 | android:layout_width="wrap_content" |
| 91 | android:layout_marginTop="7dip" |
| 92 | android:textSize="19sp" |
| 93 | android:textColor="#ffffff" |
| 94 | android:layout_gravity="center_horizontal" |
| 95 | /> |
| 96 | </LinearLayout> |
| 97 | |
| 98 | </LinearLayout> |
| 99 | |