Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2015 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 <LinearLayout
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:layout_gravity="left"
     21     android:gravity="center"
     22     android:orientation="vertical" >
     23     <ImageView
     24         android:id="@+id/page_up"
     25         android:layout_width="wrap_content"
     26         android:layout_height="wrap_content"
     27         android:scaleType="center"
     28         android:background="@drawable/car_pagination_background"
     29         android:focusable="false"
     30         android:hapticFeedbackEnabled="false" />
     31     <FrameLayout
     32         android:id="@+id/filler"
     33         android:layout_width="match_parent"
     34         android:layout_height="0dp"
     35         android:layout_weight="1"
     36         android:layout_marginTop="@dimen/car_paged_list_view_scrollbar_thumb_margin"
     37         android:layout_marginBottom="@dimen/car_paged_list_view_scrollbar_thumb_margin" >
     38         <ImageView
     39             android:id="@+id/scrollbar_thumb"
     40             android:layout_width="6dp"
     41             android:layout_height="0dp"
     42             android:layout_gravity="center_horizontal"
     43             android:src="@color/car_scrollbar_thumb" />
     44     </FrameLayout>
     45     <ImageView
     46         android:id="@+id/page_down"
     47         android:layout_width="wrap_content"
     48         android:layout_height="wrap_content"
     49         android:scaleType="center"
     50         android:background="@drawable/car_pagination_background"
     51         android:focusable="false"
     52         android:hapticFeedbackEnabled="false" />
     53 </LinearLayout>
     54