blob: 035b1168495d40a555b79f87cec050d85db0deff [file] [log] [blame]
Ying Wang1ee37af2014-07-14 17:26:42 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 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-->
Qiwen Zhao6f53a392014-09-09 10:01:02 -070017<RelativeLayout
Ying Wang1ee37af2014-07-14 17:26:42 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
Qiwen Zhao5ab314b2014-11-12 09:37:55 -080019 android:id="@+id/browse_headers_root"
20 android:transitionGroup="true"
Ying Wang1ee37af2014-07-14 17:26:42 -070021 android:layout_width="@dimen/lb_browse_headers_width"
22 android:layout_height="match_parent"
Qiwen Zhao680a2852014-11-25 15:15:27 -080023 android:paddingEnd="@dimen/lb_browse_header_padding_end"
Qiwen Zhao1bbdcd92014-08-23 11:02:05 -070024 android:elevation="@dimen/lb_browse_headers_z"
Qiwen Zhao6f53a392014-09-09 10:01:02 -070025 >
26 <android.support.v17.leanback.widget.VerticalGridView
27 android:id="@+id/browse_headers"
28 android:layout_width="@dimen/lb_browse_headers_width"
29 android:layout_height="match_parent"
30 style="?attr/headersVerticalGridStyle"/>
31 <View
32 android:id="@+id/fade_out_edge"
Qiwen Zhao680a2852014-11-25 15:15:27 -080033 android:layout_alignParentEnd="true"
Qiwen Zhao6f53a392014-09-09 10:01:02 -070034 android:layout_width="@dimen/lb_browse_header_fading_length"
35 android:layout_height="match_parent"
36 android:background="@drawable/lb_headers_right_fading" >
37 </View>
38</RelativeLayout>