Home | History | Annotate | Download | only in layout-sw600dp-land
      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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:id="@+id/fragment"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:orientation="vertical">
     23 
     24     <com.android.settings.widget.SetupWizardIllustration
     25         android:id="@+id/setup_illustration"
     26         android:layout_width="match_parent"
     27         android:layout_height="match_parent"
     28         android:layout_weight="1"
     29         android:foreground="@drawable/setup_illustration"
     30         android:background="@drawable/setup_illustration_bg">
     31 
     32         <LinearLayout
     33             android:layout_width="match_parent"
     34             android:layout_height="match_parent"
     35             android:gravity="start|top"
     36             android:weightSum="16">
     37 
     38             <TextView
     39                 android:id="@+id/title"
     40                 style="@style/SetupCardTitle"
     41                 android:layout_width="1dp"
     42                 android:layout_height="wrap_content"
     43                 android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height"
     44                 android:layout_weight="6"
     45                 android:text="@string/wifi_setup_wizard_title"/>
     46 
     47             <LinearLayout
     48                 android:layout_width="1dp"
     49                 android:layout_height="match_parent"
     50                 android:layout_marginTop="@dimen/setup_wizard_card_land_margin_top"
     51                 android:layout_weight="8"
     52                 android:background="@drawable/setup_wizard_card_bg"
     53                 android:elevation="@dimen/setup_wizard_card_elevation"
     54                 android:orientation="vertical">
     55 
     56                 <TextView
     57                     android:id="@+id/wifi_required_info"
     58                     android:layout_width="match_parent"
     59                     android:layout_height="wrap_content"
     60                     android:layout_marginBottom="6dp"
     61                     android:text="@string/wifi_required_info_text"
     62                     android:textAppearance="?android:attr/textAppearanceMedium"
     63                     android:visibility="gone" />
     64 
     65                 <ListView
     66                     android:id="@android:id/list"
     67                     android:layout_width="match_parent"
     68                     android:layout_height="0dp"
     69                     android:layout_weight="1"
     70                     android:cacheColorHint="@android:color/transparent"
     71                     android:clipToPadding="false"
     72                     android:drawSelectorOnTop="false"
     73                     android:headerDividersEnabled="false"
     74                     android:scrollbarAlwaysDrawVerticalTrack="true" />
     75 
     76             </LinearLayout>
     77 
     78         </LinearLayout>
     79 
     80     </com.android.settings.widget.SetupWizardIllustration>
     81 
     82     <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
     83         android:id="@+id/navigation_bar"
     84         style="@style/setup_wizard_navbar_style" />
     85 
     86 </LinearLayout>
     87 
     88