blob: 4045c3d6c1405fd0471e0b806ee9024fcbf83a65 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 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.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.android.car.view.MaxWidthLayout
android:id="@+id/max_width_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/car_drawer_button_container_width">
<com.android.car.view.CarRecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:clipChildren="false"/>
</com.android.car.view.MaxWidthLayout>
<!-- The scroll bar should be drawn ontop of the centered recycler view-->
<FrameLayout
android:layout_width="@dimen/car_drawer_button_container_width"
android:layout_height="match_parent">
<com.android.car.view.PagedScrollBarView
android:id="@+id/paged_scroll_view"
android:layout_width="@dimen/car_paged_list_view_pagination_width"
android:layout_height="match_parent"
android:paddingBottom="16dp"
android:paddingTop="16dp"
android:layout_gravity="center_horizontal"
android:visibility="invisible"/>
</FrameLayout>
</merge>