1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2018 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17
18<FrameLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:theme="?android:attr/alertDialogTheme"
23    android:paddingTop="8dp"
24    android:paddingLeft="?android:attr/dialogPreferredPadding"
25    android:paddingRight="?android:attr/dialogPreferredPadding">
26
27  <LinearLayout
28      android:id="@+id/staging"
29      android:layout_width="match_parent"
30      android:layout_height="wrap_content"
31      android:orientation="vertical"
32      android:visibility="invisible">
33
34    <TextView
35        android:layout_width="wrap_content"
36        android:layout_height="wrap_content"
37        style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
38        android:text="@string/message_staging" />
39
40    <ProgressBar
41        android:id="@+id/progress_indeterminate"
42        android:layout_width="match_parent"
43        android:layout_height="wrap_content"
44        android:paddingTop="8dp"
45        style="?android:attr/progressBarStyleHorizontal"
46        android:indeterminate="true" />
47
48  </LinearLayout>
49
50  <LinearLayout
51      android:id="@+id/installing"
52      android:layout_width="match_parent"
53      android:layout_height="wrap_content"
54      android:orientation="vertical"
55      android:visibility="invisible">
56
57    <TextView
58        android:layout_width="wrap_content"
59        android:layout_height="wrap_content"
60        style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
61        android:text="@string/installing" />
62
63    <ProgressBar
64        android:id="@+id/progress"
65        android:layout_width="match_parent"
66        android:layout_height="wrap_content"
67        android:paddingTop="8dp"
68        style="?android:attr/progressBarStyleHorizontal"
69        android:indeterminate="true" />
70
71  </LinearLayout>
72
73  <TextView
74      android:id="@+id/install_confirm_question"
75      android:layout_width="wrap_content"
76      android:layout_height="wrap_content"
77      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
78      android:text="@string/install_confirm_question"
79      android:visibility="invisible"
80      android:scrollbars="vertical" />
81
82  <TextView
83      android:id="@+id/install_confirm_question_update"
84      android:layout_width="wrap_content"
85      android:layout_height="wrap_content"
86      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
87      android:text="@string/install_confirm_question_update"
88      android:visibility="invisible"
89      android:scrollbars="vertical" />
90
91  <TextView
92      android:id="@+id/install_success"
93      android:layout_width="wrap_content"
94      android:layout_height="wrap_content"
95      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
96      android:text="@string/install_done"
97      android:visibility="invisible" />
98
99  <TextView
100      android:id="@+id/install_failed"
101      android:layout_width="wrap_content"
102      android:layout_height="wrap_content"
103      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
104      android:text="@string/install_failed"
105      android:visibility="invisible" />
106
107  <TextView
108      android:id="@+id/install_failed_blocked"
109      android:layout_width="wrap_content"
110      android:layout_height="wrap_content"
111      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
112      android:text="@string/install_failed_blocked"
113      android:visibility="invisible" />
114
115  <TextView
116      android:id="@+id/install_failed_conflict"
117      android:layout_width="wrap_content"
118      android:layout_height="wrap_content"
119      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
120      android:text="@string/install_failed_conflict"
121      android:visibility="invisible" />
122
123  <TextView
124      android:id="@+id/install_failed_incompatible"
125      android:layout_width="wrap_content"
126      android:layout_height="wrap_content"
127      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
128      android:text="@string/install_failed_incompatible"
129      android:visibility="invisible" />
130
131  <TextView
132      android:id="@+id/install_failed_invalid_apk"
133      android:layout_width="wrap_content"
134      android:layout_height="wrap_content"
135      style="@android:style/TextAppearance.DeviceDefault.SearchResult.Subtitle"
136      android:text="@string/install_failed_invalid_apk"
137      android:visibility="invisible" />
138
139</FrameLayout>