95af12dac2
Mass cherry-pick changes submitted to master since creation of this branch (ub-setupwizard-alatar). Changes include: Provide templates in library > I1b72e008fa2847a2a393bc7285f0d18d3e3f93fd Implement SetupWizardLayout > Ib94602b62cd8faba41f171114651a54a90c5ee8d Rename attributes > I189978bc7b11152e72e89a66779175bc0246c778 Remove deprecated styles > I9d19bc1fb24f8fcc8322ec959d588063598b81a5 Implement LayoutHelper.setIllustration > I07f8fa811bc4e02ce641e45f3ba4402d385ce470 Themes and attrs support > I2d5a261ce4965fb41a24f1ea4775b52639b1875b Add more themes > Iae97d016705e422fa6e194b5e939ea013477bbb0 Remove SetupWizardLayoutHelper > I32ae90ec7928313199bd434a038bf5f63921847a Implement SetupWizardListLayout > I7903b64e793f0edd49fa30948d76b2b8bc1854b5 Change-Id: I26fa53b60900be506223a25a44b00a99c5e161b3
71 lines
2.7 KiB
XML
71 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015 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.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.android.setupwizardlib.view.Illustration
|
|
android:id="@+id/suw_layout_decor"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/suw_layout_background">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="start|top"
|
|
android:weightSum="16">
|
|
|
|
<TextView
|
|
android:id="@+id/suw_layout_title"
|
|
style="@style/SuwCardTitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/suw_tablet_illustration_height"
|
|
android:layout_weight="6" />
|
|
|
|
<com.android.setupwizardlib.view.BottomScrollView
|
|
android:id="@+id/suw_bottom_scroll_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/suw_card_land_margin_top"
|
|
android:layout_weight="8"
|
|
android:background="@drawable/suw_card_bg"
|
|
android:elevation="@dimen/suw_card_elevation"
|
|
android:fillViewport="true">
|
|
|
|
<FrameLayout android:id="@+id/suw_layout_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipChildren="false" />
|
|
|
|
</com.android.setupwizardlib.view.BottomScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.android.setupwizardlib.view.Illustration>
|
|
|
|
<com.android.setupwizardlib.view.NavigationBar
|
|
android:id="@+id/suw_layout_navigation_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/suw_navbar_height" />
|
|
|
|
</LinearLayout>
|