1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 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<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:layout_gravity="center" 22 android:gravity="center" 23 android:orientation="vertical"> 24 25 <ImageView 26 android:id="@+id/page_up" 27 android:layout_width="@dimen/car_scroll_bar_button_size" 28 android:layout_height="@dimen/car_scroll_bar_button_size" 29 android:background="@drawable/car_card_ripple_background" 30 android:focusable="false" 31 android:hapticFeedbackEnabled="false" 32 android:src="@drawable/ic_up" /> 33 34 <FrameLayout 35 android:id="@+id/filler" 36 android:layout_width="match_parent" 37 android:layout_height="0dp" 38 android:layout_weight="1" 39 android:layout_marginBottom="@dimen/car_padding_2" 40 android:layout_marginTop="@dimen/car_padding_2" > 41 42 <View 43 android:id="@+id/scrollbar_thumb" 44 android:layout_width="@dimen/car_scroll_bar_thumb_width" 45 android:layout_height="0dp" 46 android:layout_gravity="center_horizontal" 47 android:background="@drawable/car_scrollbar_thumb" /> 48 </FrameLayout> 49 50 <ImageView 51 android:id="@+id/page_down" 52 android:layout_width="@dimen/car_scroll_bar_button_size" 53 android:layout_height="@dimen/car_scroll_bar_button_size" 54 android:background="@drawable/car_card_ripple_background" 55 android:focusable="false" 56 android:hapticFeedbackEnabled="false" 57 android:src="@drawable/ic_down" /> 58</LinearLayout> 59