• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_gravity="center"
67        android:visibility="gone"
68        android:indeterminate="true"
69        android:indeterminateOnly="false"
70    />
71
72
73
74    </LinearLayout>
75
76    <LinearLayout android:id="@+id/button"
77        android:orientation="vertical"
78        android:background="@drawable/ok_cancel"
79        android:scaleType="fitXY"
80        android:layout_width="match_parent"
81        android:layout_height="42dip"
82        android:paddingLeft="1dip"
83        android:paddingRight="1dip"
84    >
85
86    <TextView android:id="@+id/button_text"
87        android:text="@string/cancel"
88        android:layout_height="wrap_content"
89        android:layout_width="wrap_content"
90        android:layout_marginTop="7dip"
91        android:textSize="19sp"
92        android:textColor="#ffffff"
93        android:layout_gravity="center_horizontal"
94    />
95    </LinearLayout>
96
97</LinearLayout>
98
99