summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYabin Huang <yabinh@google.com>2021-04-21 18:06:55 -0700
committerYabin Huang <yabinh@google.com>2021-05-04 13:24:21 -0700
commit6da8058cedfeb1aca38ee901c0d6a0b280c2a18c (patch)
treea14c9134e4556b9ecc12559ea69aca438c032f45 /res
parent6934fc55b2be18802dabc1a4e80affbcb27bc998 (diff)
downloadHTMLViewer-android12-qpr1-d-s1-release.tar.gz
ag/14276507 got reverted because of a build error. The build error was fixed by allowing CarHTMLViewer to be in /system partition. Bug: 185951366 Test: lunch gsi_car_arm64 && make CarHTMLViewer Test: manual test Change-Id: I2c4729ab6352a6b06bdb9969c17ff3ee64ea3331
Diffstat (limited to 'res')
-rw-r--r--res/layout/main_car.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/res/layout/main_car.xml b/res/layout/main_car.xml
new file mode 100644
index 0000000..1577ec4
--- /dev/null
+++ b/res/layout/main_car.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2021 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.
+-->
+
+<com.android.car.ui.FocusArea
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <include layout="@layout/main"/>
+
+</com.android.car.ui.FocusArea>