• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<com.android.car.ui.FocusArea
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical">
22
23    <Button
24        android:id="@+id/cards"
25        android:layout_width="match_parent"
26        android:layout_height="0dp"
27        android:layout_weight="1"
28        android:text="Cards"
29        style="@style/tab" />
30    <Button
31        android:id="@+id/direct_manipulation"
32        android:layout_width="match_parent"
33        android:layout_height="0dp"
34        android:layout_weight="1"
35        android:text="Direct Manipulation"
36        style="@style/tab" />
37    <Button
38        android:id="@+id/sys_ui_direct_manipulation"
39        android:layout_width="match_parent"
40        android:layout_height="0dp"
41        android:layout_weight="1"
42        android:text="Sys UI Manipulation"
43        style="@style/tab" />
44    <Button
45        android:id="@+id/grid"
46        android:layout_width="match_parent"
47        android:layout_height="0dp"
48        android:layout_weight="1"
49        android:text="Grid"
50        style="@style/tab" />
51    <Button
52        android:id="@+id/notification"
53        android:layout_width="match_parent"
54        android:layout_height="0dp"
55        android:layout_weight="1"
56        android:text="Notification"
57        style="@style/tab" />
58    <Button
59        android:id="@+id/scroll"
60        android:layout_width="match_parent"
61        android:layout_height="0dp"
62        android:layout_weight="1"
63        android:text="Scroll"
64        style="@style/tab" />
65    <Button
66        android:id="@+id/web_view"
67        android:layout_width="match_parent"
68        android:layout_height="0dp"
69        android:layout_weight="1"
70        android:text="WebView"
71        style="@style/tab" />
72    <Button
73        android:id="@+id/custom_focus_areas"
74        android:layout_width="match_parent"
75        android:layout_height="0dp"
76        android:layout_weight="1"
77        android:text="Custom FocusAreas"
78        style="@style/tab" />
79</com.android.car.ui.FocusArea>
80