Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     18          android:layout_width="300sp"
     19          android:layout_height="wrap_content">
     20 
     21     <LinearLayout
     22             android:layout_width="match_parent"
     23             android:layout_height="wrap_content"
     24             android:padding="8dip"
     25             android:orientation="vertical">
     26 
     27         <TextView
     28                 android:id="@+id/wps_dialog_txt"
     29                 android:layout_width="match_parent"
     30                 android:layout_height="wrap_content"
     31                 android:layout_marginTop="8dip" />
     32 
     33         <ImageView
     34                 android:layout_width="wrap_content"
     35                 android:layout_height="wrap_content"
     36                 android:layout_gravity="center"
     37                 android:layout_marginTop="8dip"
     38                 android:src="?attr/ic_wps" />
     39 
     40         <ProgressBar
     41                 android:id="@+id/wps_timeout_bar"
     42                 android:layout_width="match_parent"
     43                 android:layout_height="wrap_content"
     44                 android:layout_marginTop="20dip"
     45                 style="?android:attr/progressBarStyleHorizontal" />
     46 
     47         <ProgressBar
     48                 android:id="@+id/wps_progress_bar"
     49                 android:layout_width="match_parent"
     50                 android:layout_height="wrap_content"
     51                 android:layout_marginTop="20dip"
     52                 style="?android:attr/progressBarStyle" />
     53 
     54         <RelativeLayout
     55                 android:gravity="center"
     56                 android:layout_width="fill_parent"
     57                 android:layout_height="wrap_content">
     58 
     59             <Button
     60                     android:id="@+id/wps_dialog_btn"
     61                     android:layout_width="wrap_content"
     62                     android:layout_height="wrap_content"
     63                     android:text="@string/cancel" />
     64         </RelativeLayout>
     65     </LinearLayout>
     66 </ScrollView>
     67