Qiwen Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 1 | <?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 Zhao | 9bb4b2e | 2015-05-19 14:54:37 -0700 | [diff] [blame] | 27 | <!-- Used for dimming foreground, round rect and background--> |
| 28 | <FrameLayout |
Qiwen Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 29 | 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 Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 33 | android:clipToPadding="false" |
Qiwen Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 34 | android:foreground="#ffffff" |
| 35 | android:elevation="@dimen/lb_details_overview_z" |
| 36 | > |
| 37 | |
Qiwen Zhao | 9bb4b2e | 2015-05-19 14:54:37 -0700 | [diff] [blame] | 38 | <LinearLayout |
| 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="match_parent" |
| 41 | android:orientation="vertical" |
| 42 | > |
| 43 | |
Kirill Grouchnikov | 8827c23 | 2015-06-29 11:55:11 -0400 | [diff] [blame] | 44 | <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 Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 49 | |
Kirill Grouchnikov | 8827c23 | 2015-06-29 11:55:11 -0400 | [diff] [blame] | 50 | <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 Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 63 | |
Kirill Grouchnikov | 8827c23 | 2015-06-29 11:55:11 -0400 | [diff] [blame] | 64 | <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 Zhao | 9bb4b2e | 2015-05-19 14:54:37 -0700 | [diff] [blame] | 78 | </LinearLayout> |
| 79 | </FrameLayout> |
Qiwen Zhao | c0f7a2e | 2015-05-06 08:16:21 -0700 | [diff] [blame] | 80 | </FrameLayout> |