blob: 614fc5932f860fac19e925c10b35832578b91047 [file] [log] [blame]
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -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-->
17
18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:lb="http://schemas.android.com/apk/res-auto"
20 android:id="@+id/details_root"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:paddingBottom="@dimen/lb_details_overview_margin_bottom"
24 android:clipToPadding="false"
25 >
26
Qiwen Zhao9bb4b2e2015-05-19 14:54:37 -070027 <!-- Used for dimming foreground, round rect and background-->
28 <FrameLayout
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -070029 android:id="@+id/details_frame"
30 android:layout_width="match_parent"
31 android:layout_height="@dimen/lb_details_v2_card_height"
32 android:layout_marginTop="@dimen/lb_details_v2_blank_height"
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -070033 android:clipToPadding="false"
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -070034 android:foreground="#ffffff"
35 android:elevation="@dimen/lb_details_overview_z"
36 >
37
Qiwen Zhao9bb4b2e2015-05-19 14:54:37 -070038 <LinearLayout
39 android:layout_width="match_parent"
40 android:layout_height="match_parent"
41 android:orientation="vertical"
42 >
43
Kirill Grouchnikov8827c232015-06-29 11:55:11 -040044 <LinearLayout
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:id="@+id/details_overview_actions_background"
48 android:orientation="vertical" >
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -070049
Kirill Grouchnikov8827c232015-06-29 11:55:11 -040050 <android.support.v17.leanback.widget.HorizontalGridView
51 android:id="@+id/details_overview_actions"
52 android:layout_width="match_parent"
53 android:layout_height="@dimen/lb_details_v2_actions_height"
54 android:gravity="center"
55 android:clipToPadding="false"
56 android:focusable="true"
57 android:focusableInTouchMode="true"
58 android:paddingStart="@dimen/lb_details_v2_description_margin_start"
59 android:paddingEnd="@dimen/lb_details_v2_description_margin_end"
60 lb:horizontalMargin="@dimen/lb_details_overview_action_items_margin"
61 lb:rowHeight="@dimen/lb_details_v2_actions_height" />
62 </LinearLayout>
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -070063
Kirill Grouchnikov8827c232015-06-29 11:55:11 -040064 <android.support.v17.leanback.widget.NonOverlappingFrameLayout
65 android:id="@+id/details_overview_description"
66 android:layout_width="match_parent"
67 android:layout_height="wrap_content"
68 android:focusable="true"
69 android:focusableInTouchMode="true"
70 android:descendantFocusability="afterDescendants"
71 android:gravity="top"
72 android:paddingStart="@dimen/lb_details_v2_description_margin_start"
73 android:paddingEnd="@dimen/lb_details_v2_description_margin_end"
74 android:paddingTop="@dimen/lb_details_v2_description_margin_top"
75 android:clipToPadding="false"
76 android:clipChildren="false"
77 />
Qiwen Zhao9bb4b2e2015-05-19 14:54:37 -070078 </LinearLayout>
79 </FrameLayout>
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -070080</FrameLayout>