Home | History | Annotate | Download | only in layout-sw600dp-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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 
     17 <!-- Incoming setup - XL - landscape - see layout/ for small-screen version -->
     18 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent">
     21 
     22     <RelativeLayout
     23         android:layout_width="match_parent"
     24         android:layout_height="match_parent"
     25         android:paddingTop="@dimen/setup_padding_top"
     26         android:paddingLeft="@dimen/setup_padding_left"
     27         android:paddingRight="@dimen/setup_padding_right"
     28         >
     29 
     30         <!-- Headline and hairline divider -->
     31         <TextView
     32             android:id="@+id/headline"
     33             android:layout_alignParentTop="true"
     34             android:layout_alignParentLeft="true"
     35             android:layout_marginLeft="16dip"
     36             android:layout_width="wrap_content"
     37             android:layout_height="wrap_content"
     38             android:text="@string/account_setup_incoming_headline"
     39             android:textAppearance="@style/accountSetupHeadline" />
     40         <View
     41             android:id="@+id/top_divider"
     42             android:layout_below="@+id/headline"
     43             android:layout_marginBottom="16dip"
     44             android:layout_width="match_parent"
     45             android:layout_height="1px"
     46             android:background="@color/account_setup_divider_color" />
     47 
     48         <!-- Buttons on the right -->
     49         <Button
     50             android:id="@+id/previous"
     51             android:layout_below="@+id/top_divider"
     52             android:layout_alignParentRight="true"
     53             android:layout_marginTop="@dimen/setup_buttons_padding_top"
     54             android:layout_marginRight="@dimen/setup_buttons_padding_right"
     55             style="@style/accountSetupButton"
     56             android:text="@string/previous_action" />
     57         <Button
     58             android:id="@+id/next"
     59             android:layout_below="@+id/previous"
     60             android:layout_alignParentRight="true"
     61             android:layout_marginTop="@dimen/setup_buttons_vertical_spacing"
     62             android:layout_marginRight="@dimen/setup_buttons_padding_right"
     63             style="@style/accountSetupButton"
     64             android:text="@string/next_action" />
     65 
     66         <!-- Fragment on the left containing the setup info -->
     67         <FrameLayout
     68             android:layout_below="@+id/top_divider"
     69             android:layout_alignParentLeft="true"
     70             android:layout_toLeftOf="@+id/next"
     71             android:layout_width="match_parent"
     72             android:layout_height="wrap_content"
     73             android:paddingLeft="16dip"
     74             android:paddingRight="64dip"
     75             >
     76             <fragment
     77                 android:id="@+id/setup_fragment"
     78                 class="com.android.email.activity.setup.AccountSetupIncomingFragment"
     79                 android:layout_width="match_parent"
     80                 android:layout_height="wrap_content" />
     81         </FrameLayout>
     82     </RelativeLayout>
     83 </ScrollView>