Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2013 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:orientation="vertical"
     19     android:layout_width="fill_parent"
     20     android:layout_height="fill_parent">
     21 
     22     <fragment
     23         android:name="com.android.printspooler.SelectPrinterFragment"
     24         android:id="@+id/select_printer_fragment"
     25         android:layout_width="fill_parent"
     26         android:layout_height="wrap_content">
     27     </fragment>
     28 
     29     <FrameLayout
     30         android:id="@+id/empty_print_state"
     31         android:layout_width="fill_parent"
     32         android:layout_height="fill_parent"
     33         android:visibility="gone">
     34 
     35         <LinearLayout
     36             android:layout_width="wrap_content"
     37             android:layout_height="wrap_content"
     38             android:layout_gravity="center"
     39             android:gravity="center"
     40             android:orientation="vertical">
     41 
     42             <ImageView
     43                 android:layout_width="wrap_content"
     44                 android:layout_height="wrap_content"
     45                 android:layout_marginBottom="12dip"
     46                 android:src="@*android:drawable/ic_grayedout_printer"
     47                 android:contentDescription="@string/print_searching_for_printers">
     48             </ImageView>
     49 
     50             <TextView
     51                 android:id="@+id/title"
     52                 android:layout_width="wrap_content"
     53                 android:layout_height="wrap_content"
     54                 android:textAppearance="?android:attr/textAppearanceLarge"
     55                 android:textColor="?android:attr/textColorSecondary"
     56                 android:text="@string/print_searching_for_printers">
     57             </TextView>
     58 
     59             <ProgressBar
     60                 android:id="@+id/progress_bar"
     61                 android:layout_width="fill_parent"
     62                 android:layout_height="wrap_content"
     63                 android:indeterminate="true"
     64                 style="@android:style/Widget.Holo.ProgressBar.Horizontal">
     65             </ProgressBar>
     66 
     67         </LinearLayout>
     68 
     69     </FrameLayout>
     70 
     71 </LinearLayout>
     72