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 android:focusable="true" 23 android:focusableInTouchMode="true"> 24 25 <LinearLayout 26 android:background="@android:color/black" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:orientation="horizontal"> 30 31 <FrameLayout 32 android:id="@+id/exit_button_container" 33 android:layout_width="@dimen/panel_margin" 34 android:layout_height="@dimen/app_bar_height" 35 android:layout_alignParentStart="true" 36 android:layout_centerVertical="true" 37 android:background="?android:attr/selectableItemBackground" 38 android:clickable="true" 39 android:focusable="true"> 40 <ImageButton 41 android:layout_width="@dimen/icon_size" 42 android:layout_height="@dimen/icon_size" 43 android:layout_gravity="center" 44 android:adjustViewBounds="true" 45 android:background="@null" 46 android:clickable="false" 47 android:focusable="false" 48 android:scaleType="fitXY" 49 android:src="@drawable/ic_close_white" 50 android:tint="@*android:color/car_tint"/> 51 </FrameLayout> 52 53 <TextView 54 android:text="@string/app_name" 55 android:textSize="@dimen/title_size" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:layout_gravity="left" 59 android:layout_weight="3"/> 60 61 <Button 62 style="@style/Button" 63 android:id="@+id/manager_btn" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:text="@string/manager"/> 67 </LinearLayout> 68 69 <FrameLayout 70 android:id="@+id/activity_content" 71 android:layout_width="match_parent" 72 android:layout_height="match_parent"/> 73</LinearLayout> 74