Home | History | Annotate | Download | only in layout-sw600dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 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 <FrameLayout
     18     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="wrap_content"
     24         android:layout_height="wrap_content"
     25         android:layout_gravity="center"
     26         android:padding="64dip"
     27     >
     28         <ImageView
     29             android:id="@+id/encroid"
     30             android:layout_width="wrap_content"
     31             android:layout_height="wrap_content"
     32             android:layout_alignParentRight="true"
     33             android:layout_alignParentBottom="true"
     34             android:paddingRight="65dip"
     35             android:src="@drawable/encroid_waiting"
     36         />
     37 
     38         <TextView
     39             android:id="@+id/title"
     40             android:layout_width="wrap_content"
     41             android:layout_height="wrap_content"
     42             android:minHeight="48dip"
     43             android:layout_alignParentTop="true"
     44             android:layout_alignParentLeft="true"
     45             android:layout_marginLeft="16dip"
     46             android:layout_marginRight="16dip"
     47             android:textSize="30dip"
     48             android:textColor="@color/title_color"
     49             android:text="@string/crypt_keeper_setup_title"
     50             android:gravity="bottom"
     51         />
     52 
     53         <!-- Divider -->
     54         <RelativeLayout
     55             android:id="@+id/top_divider"
     56             android:layout_width="match_parent"
     57             android:layout_height="wrap_content"
     58             android:layout_below="@+id/title"
     59         >
     60             <ProgressBar
     61                 android:id="@+id/progress_bar"
     62                 android:layout_width="match_parent"
     63                 android:layout_height="wrap_content"
     64                 style="?android:attr/progressBarStyleHorizontal"
     65             />
     66         </RelativeLayout>
     67 
     68         <TextView
     69             android:id="@+id/status"
     70             android:layout_width="match_parent"
     71             android:layout_height="wrap_content"
     72             android:layout_below="@+id/top_divider"
     73             android:paddingTop="21dip"
     74             android:layout_marginLeft="16dip"
     75             android:layout_marginRight="16dip"
     76             android:textAppearance="?android:attr/textAppearanceMedium"
     77         />
     78 
     79         <!-- Divider -->
     80         <RelativeLayout
     81             android:id="@+id/bottom_divider"
     82             android:layout_width="match_parent"
     83             android:layout_height="wrap_content"
     84             android:layout_above="@+id/factory_reset"
     85             android:visibility="gone"
     86         >
     87             <ProgressBar
     88                 android:layout_width="match_parent"
     89                 android:layout_height="wrap_content"
     90                 style="?android:attr/progressBarStyleHorizontal"
     91             />
     92         </RelativeLayout>
     93 
     94         <Button
     95             android:id="@+id/factory_reset"
     96             android:layout_width="208dip"
     97             android:layout_height="48dip"
     98             android:layout_alignParentRight="true"
     99             android:layout_alignParentBottom="true"
    100             android:layout_marginBottom="80dip"
    101             android:layout_marginRight="16dip"
    102             android:text="@string/master_clear_button_text"
    103             android:visibility="gone"
    104         />
    105 
    106     </RelativeLayout>
    107 </FrameLayout>
    108