• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8  http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15-->
16<LinearLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    android:background="@android:color/black"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical">
22
23    <LinearLayout
24        android:background="@android:color/black"
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:orientation="horizontal">
28
29        <FrameLayout
30            android:id="@+id/exit_button_container"
31            android:layout_width="@dimen/panel_margin"
32            android:layout_height="@dimen/app_bar_height"
33            android:layout_alignParentStart="true"
34            android:layout_centerVertical="true"
35            android:background="?android:attr/selectableItemBackground"
36            android:clickable="true"
37            android:focusable="true">
38            <ImageButton
39                android:layout_width="@dimen/icon_size"
40                android:layout_height="@dimen/icon_size"
41                android:layout_gravity="center"
42                android:adjustViewBounds="true"
43                android:background="@null"
44                android:clickable="false"
45                android:focusable="false"
46                android:scaleType="fitXY"
47                android:src="@drawable/ic_close_white"
48                android:tint="@*android:color/car_tint"/>
49        </FrameLayout>
50
51        <TextView
52            android:text="@string/app_name"
53            android:textSize="@dimen/title_size"
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:layout_gravity="left"
57            android:layout_weight="3"/>
58
59        <Button
60            style="@style/Button"
61            android:id="@+id/offcar_test_btn"
62            android:layout_width="wrap_content"
63            android:layout_height="wrap_content"
64            android:text="@string/off_car_testing"/>
65    </LinearLayout>
66
67    <FrameLayout
68        android:id="@+id/activity_content"
69        android:layout_width="match_parent"
70        android:layout_height="match_parent"/>
71</LinearLayout>
72