• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2016 The Android Open Source Project
2
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6
7          http://www.apache.org/licenses/LICENSE-2.0
8
9     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14-->
15<FrameLayout
16    xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent">
19
20    <android.opengl.GLSurfaceView
21        android:id="@+id/blurred_surface_view"
22        android:layout_width="match_parent"
23        android:layout_height="match_parent" />
24
25    <LinearLayout
26        android:id="@+id/activity_blocking_content"
27        android:layout_width="match_parent"
28        android:layout_height="match_parent"
29        android:background="@color/activity_blocking_activity_background"
30        android:gravity="center"
31        android:orientation="vertical">
32
33        <ImageView
34            android:id="@+id/ux_restricted_icon"
35            android:layout_width="wrap_content"
36            android:layout_height="wrap_content"
37            android:layout_marginBottom="@dimen/common_margin"
38            android:src="@drawable/car_ic_ux_restricted_48dp" />
39
40        <TextView
41            android:id="@+id/blocking_text"
42            android:layout_width="@dimen/blocking_text_width"
43            android:layout_height="wrap_content"
44            android:gravity="center"
45            android:text="@string/activity_blocked_text"
46            android:textAppearance="@style/ActivityBlockingActivityText" />
47
48        <LinearLayout
49            android:id="@+id/action_button_container"
50            android:layout_width="wrap_content"
51            android:layout_height="wrap_content"
52            android:layout_marginTop="48dp"
53            android:layout_gravity="center"
54            android:gravity="center_horizontal"
55            android:orientation="horizontal">
56            <Button
57                android:id="@+id/exit_button"
58                style="@style/ButtonStyle" />
59
60            <Button
61                android:id="@+id/toggle_debug_info"
62                style="@style/ButtonStyle"
63                android:text="@string/debug_button_text"
64                android:visibility="gone"
65                android:layout_marginStart="@dimen/action_button_padding_horizontal"/>
66
67        </LinearLayout>
68
69        <TextView
70            android:id="@+id/debug_info"
71            android:layout_width="wrap_content"
72            android:layout_height="wrap_content"
73            android:textAppearance="@style/ActivityBlockingActivityText"
74            android:visibility="gone" />
75
76    </LinearLayout>
77
78</FrameLayout>