40 lines
1.6 KiB
XML
40 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<!--
|
|
This is the template to be used for the content are of a setup fragment
|
|
which has a standard description and action.
|
|
-->
|
|
<androidx.leanback.widget.NonOverlappingRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<FrameLayout
|
|
android:id="@+id/description"
|
|
android:layout_width="@dimen/setup_description_width"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:clipToPadding="false"
|
|
android:clipChildren="false"/>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/action"
|
|
android:layout_width="@dimen/setup_scroll_list_width"
|
|
android:layout_height="match_parent"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toEndOf="@id/description" />
|
|
|
|
</androidx.leanback.widget.NonOverlappingRelativeLayout>
|