1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2016 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 <!-- Cloned from car ui lib for use in CarUiProvider. Must be kept in sync. --> 17 <merge xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" > 21 22 <android.car.ui.provider.PagedScrollBarView 23 android:id="@+id/paged_scroll_view" 24 android:layout_width="@dimen/car_paged_list_view_pagination_width" 25 android:layout_height="match_parent" 26 android:paddingBottom="16dp" 27 android:paddingTop="16dp" 28 android:visibility="invisible" /> 29 30 <android.car.ui.provider.MaxWidthLayout 31 android:id="@+id/max_width_layout" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:layout_marginStart="@dimen/car_card_margin" 35 android:clipChildren="false" 36 app:carMaxWidth="@dimen/car_card_max_width" > 37 38 <android.car.ui.provider.CarRecyclerView 39 android:id="@+id/recycler_view" 40 android:layout_width="match_parent" 41 android:layout_height="match_parent" 42 android:layout_gravity="center_horizontal" 43 android:clipChildren="false" /> 44 </android.car.ui.provider.MaxWidthLayout> 45 46 </merge> 47