Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3     Copyright (C) 2015 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     xmlns:tools="http://schemas.android.com/tools"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:orientation="vertical">
     23 
     24     <com.android.setupwizardlib.view.Illustration
     25         android:id="@+id/suw_layout_decor"
     26         android:layout_width="match_parent"
     27         android:layout_height="0dp"
     28         android:layout_weight="1"
     29         android:background="@drawable/suw_layout_background">
     30 
     31         <LinearLayout
     32             android:layout_width="match_parent"
     33             android:layout_height="match_parent"
     34             android:orientation="vertical"
     35             android:paddingLeft="@dimen/suw_card_port_margin_sides"
     36             android:paddingRight="@dimen/suw_card_port_margin_sides">
     37 
     38             <TextView
     39                 android:id="@+id/suw_layout_title"
     40                 style="@style/SuwCardTitle"
     41                 android:layout_width="match_parent"
     42                 android:layout_height="wrap_content" />
     43 
     44             <FrameLayout
     45                 android:layout_width="match_parent"
     46                 android:layout_height="0dp"
     47                 android:layout_weight="1"
     48                 android:background="?attr/suwCardBackground"
     49                 android:elevation="@dimen/suw_card_elevation"
     50                 tools:ignore="UnusedAttribute">
     51 
     52                 <com.android.setupwizardlib.view.BottomScrollView
     53                     android:id="@+id/suw_bottom_scroll_view"
     54                     android:layout_width="match_parent"
     55                     android:layout_height="match_parent"
     56                     android:fillViewport="true">
     57 
     58                     <FrameLayout
     59                         android:id="@+id/suw_layout_content"
     60                         android:layout_width="match_parent"
     61                         android:layout_height="wrap_content"
     62                         android:clipChildren="false" />
     63 
     64                 </com.android.setupwizardlib.view.BottomScrollView>
     65 
     66                 <include layout="@layout/suw_progress_bar_stub" />
     67 
     68             </FrameLayout>
     69 
     70         </LinearLayout>
     71 
     72     </com.android.setupwizardlib.view.Illustration>
     73 
     74     <com.android.setupwizardlib.view.NavigationBar
     75         android:id="@+id/suw_layout_navigation_bar"
     76         style="@style/SuwNavBarTheme"
     77         android:layout_width="match_parent"
     78         android:layout_height="@dimen/suw_navbar_height" />
     79 
     80 </LinearLayout>
     81