Home | History | Annotate | Download | only in layout-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 **
      4 ** Copyright 2011, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License")
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 
     20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:layout_width="match_parent"
     22     android:layout_height="match_parent"
     23 >
     24     <LinearLayout
     25         android:layout_width="match_parent"
     26         android:layout_height="match_parent"
     27         android:orientation="vertical"
     28     >
     29         <LinearLayout
     30             android:layout_height="wrap_content"
     31             android:layout_width="match_parent"
     32             android:orientation="horizontal"
     33             android:gravity="center_vertical"
     34         >
     35             <include layout="@layout/crypt_keeper_status" />
     36 
     37             <!-- Emergency call button.
     38                  Text and icon are set by CryptKeeper.updateEmergencyCallButtonState() -->
     39             <Button android:id="@+id/emergencyCallButton"
     40                 android:layout_width="wrap_content"
     41                 android:layout_height="wrap_content"
     42                 android:layout_gravity="center"
     43                 android:layout_margin="16dip"
     44                 style="@*android:style/Widget.Button.Transparent"
     45                 android:textSize="14sp"
     46                 android:drawablePadding="6dip"
     47             />
     48         </LinearLayout>
     49 
     50         <LinearLayout
     51             android:layout_height="wrap_content"
     52             android:layout_width="match_parent"
     53             android:layout_marginLeft="8dip"
     54             android:layout_marginRight="8dip"
     55             android:orientation="horizontal"
     56         >
     57             <include layout="@layout/crypt_keeper_password_field" />
     58         </LinearLayout>
     59 
     60 
     61     </LinearLayout>
     62 </ScrollView>
     63