• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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<FrameLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:app="http://schemas.android.com/apk/res-auto"
19    android:id="@+id/container"
20    android:background="@drawable/background"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent">
23
24    <FrameLayout
25            android:id="@+id/action_icon_bar"
26            android:layout_width="match_parent"
27            android:layout_height="@dimen/lens_header_height">
28        <FrameLayout android:layout_width="@dimen/stream_action_button_side_margin"
29                     android:layout_height="match_parent"
30                     android:layout_gravity="center_vertical|end">
31            <ImageView
32                    android:id="@+id/voice_button"
33                    android:layout_gravity="center"
34                    android:src="@drawable/ic_voice_assistant_mic"
35                    style="@style/OverviewButton"/>
36        </FrameLayout>
37        <FrameLayout android:layout_width="@dimen/stream_action_button_side_margin"
38                     android:layout_height="match_parent"
39                     android:layout_gravity="center_vertical|start">
40            <ImageView
41                    android:id="@+id/gear_button"
42                    android:layout_gravity="center"
43                    android:src="@drawable/ic_settings"
44                    style="@style/OverviewButton"/>
45        </FrameLayout>
46    </FrameLayout>
47    <TextView
48            android:id="@+id/permission_text"
49            android:layout_gravity="center"
50            android:layout_width="@dimen/permission_text_width"
51            android:layout_height="wrap_content"
52            android:text="@string/permission_request_string"
53            android:background="?android:attr/selectableItemBackground"
54            style="@style/PermissionsRequest" />
55
56    <android.support.car.ui.PagedListView
57            android:id="@+id/list_view"
58            android:background="@android:color/transparent"
59            android:layout_width="match_parent"
60            android:layout_height="match_parent"
61            android:visibility="gone"
62            app:offsetRows="true"/>
63</FrameLayout>
64