You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
3.0 KiB
78 lines
3.0 KiB
4 months ago
|
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2016 The Android Open Source Project
|
||
|
|
||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
you may not use this file except in compliance with the License.
|
||
|
You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
-->
|
||
|
<FrameLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<android.opengl.GLSurfaceView
|
||
|
android:id="@+id/blurred_surface_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/activity_blocking_content"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@color/activity_blocking_activity_background"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/ux_restricted_icon"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="@dimen/common_margin"
|
||
|
android:src="@drawable/car_ic_ux_restricted_48dp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/blocking_text"
|
||
|
android:layout_width="@dimen/blocking_text_width"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/activity_blocked_text"
|
||
|
android:textAppearance="@style/ActivityBlockingActivityText" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/action_button_container"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="48dp"
|
||
|
android:layout_gravity="center"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="horizontal">
|
||
|
<Button
|
||
|
android:id="@+id/exit_button"
|
||
|
style="@style/ButtonStyle" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/toggle_debug_info"
|
||
|
style="@style/ButtonStyle"
|
||
|
android:text="@string/debug_button_text"
|
||
|
android:visibility="gone"
|
||
|
android:layout_marginStart="@dimen/action_button_padding_horizontal"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/debug_info"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textAppearance="@style/ActivityBlockingActivityText"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</FrameLayout>
|