1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 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<!-- 17 This is the template to be used for the content are of a setup fragment 18 which has a standard description and action. 19--> 20<androidx.leanback.widget.NonOverlappingRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" > 23 24 <FrameLayout 25 android:id="@+id/description" 26 android:layout_width="@dimen/setup_description_width" 27 android:layout_height="match_parent" 28 android:layout_alignParentTop="true" 29 android:clipToPadding="false" 30 android:clipChildren="false"/> 31 32 <FrameLayout 33 android:id="@+id/action" 34 android:layout_width="@dimen/setup_scroll_list_width" 35 android:layout_height="match_parent" 36 android:layout_centerVertical="true" 37 android:layout_toEndOf="@id/description" /> 38 39</androidx.leanback.widget.NonOverlappingRelativeLayout> 40