1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2016, 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<FrameLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res/com.android.support.car.lenspicker" 20 android:id="@+id/dismiss_area" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" 23 android:background="@color/car_lens_picker_bg_color" 24 android:clipChildren="false"> 25 <androidx.car.widget.PagedListView 26 android:id="@+id/list_view" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:layout_marginTop="@dimen/car_app_bar_height" 30 app:showPagedListViewDivider="false" /> 31 <RelativeLayout 32 android:id="@+id/no_app_installed" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent" 35 android:visibility="gone" 36 android:layout_marginTop="@dimen/car_app_bar_height" > 37 <ImageView 38 android:id="@+id/error_icon" 39 android:layout_width="@dimen/lens_no_compatible_app_installed_icon_size" 40 android:layout_height="@dimen/lens_no_compatible_app_installed_icon_size" 41 android:layout_marginTop="@dimen/lens_no_compatible_app_installed_icon_top_margin" 42 android:layout_centerHorizontal="true" 43 android:layout_alignParentTop="true" 44 android:src="@drawable/ic_error" /> 45 <TextView 46 android:id="@+id/error_text" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:layout_below="@id/error_icon" 50 android:layout_marginTop="@dimen/lens_no_compatible_app_installed_text_top_margin" 51 android:layout_marginLeft="@dimen/lens_no_compatible_app_installed_text_left_margin" 52 android:layout_marginRight="@dimen/lens_no_compatible_app_installed_text_right_margin" 53 android:gravity="center" 54 android:textColor="@color/car_grey_100" 55 style="@style/TextAppearance.Car.Body1" /> 56 </RelativeLayout> 57</FrameLayout> 58