Home | History | Annotate | Download | only in layout-sw600dp-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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 <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:id="@+id/topLayout"
     19     android:orientation="vertical"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:gravity="center_horizontal">
     23 
     24     <!-- header message -->
     25     <ScrollView
     26         android:layout_width="match_parent"
     27         android:layout_height="wrap_content"
     28         android:gravity="center"
     29         android:layout_marginTop="40dip">
     30 
     31         <TextView android:id="@+id/headerText"
     32             android:layout_width="match_parent"
     33             android:layout_height="wrap_content"
     34             android:gravity="center"
     35             android:textAppearance="?android:attr/textAppearanceMedium"/>
     36 
     37     </ScrollView>
     38 
     39     <!-- footer message -->
     40     <TextView android:id="@+id/footerText"
     41         android:layout_width="wrap_content"
     42         android:layout_height="wrap_content"
     43         android:layout_marginTop="16dip"
     44         android:textAppearance="?android:attr/textAppearanceMedium"/>
     45 
     46     <View
     47         android:layout_width="match_parent"
     48         android:layout_height="0dip"
     49         android:layout_weight="0.6"/>
     50 
     51     <!-- lock pattern widget -->
     52     <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
     53         android:layout_width="354dip"
     54         android:layout_height="354dip"
     55         aspect="square"/>
     56 
     57     <View
     58         android:layout_width="match_parent"
     59         android:layout_height="0dip"
     60         android:layout_weight="1"/>
     61 
     62 </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
     63 
     64