Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3    Copyright 2011, The Android Open Source Project
      4 
      5    Licensed under the Apache License, Version 2.0 (the "License");
      6    you may not use this file except in compliance with the License.
      7    You may obtain a copy of the License at
      8 
      9        http://www.apache.org/licenses/LICENSE-2.0
     10 
     11    Unless required by applicable law or agreed to in writing, software
     12    distributed under the License is distributed on an "AS IS" BASIS,
     13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14    See the License for the specific language governing permissions and
     15    limitations under the License.
     16 -->
     17 <com.android.browser.AutologinBar
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="wrap_content"
     21     android:background="#FBF0A0"
     22     android:gravity="center_vertical"
     23     android:visibility="gone"
     24     android:orientation="vertical">
     25     <LinearLayout
     26         android:layout_width="match_parent"
     27         android:layout_height="wrap_content"
     28         android:paddingLeft="8dip"
     29         android:paddingRight="8dip">
     30         <TextView
     31             android:text="@string/autologin_bar_text"
     32             android:layout_width="wrap_content"
     33             android:layout_height="wrap_content"
     34             android:textColor="@android:color/primary_text_light"
     35             android:textAppearance="?android:attr/textAppearanceMedium" />
     36         <Spinner
     37             android:id="@+id/autologin_account"
     38             android:layout_height="wrap_content"
     39             android:layout_width="match_parent"
     40             android:paddingLeft="8dp"
     41             android:paddingRight="24dp"
     42             style="@android:style/Widget.Holo.Light.Spinner" />
     43     </LinearLayout>
     44     <LinearLayout
     45         android:layout_width="match_parent"
     46         android:layout_height="wrap_content"
     47         android:paddingLeft="8dip"
     48         android:paddingRight="8dip">
     49         <Button
     50             android:id="@+id/autologin_close"
     51             android:layout_width="0dip"
     52             android:layout_weight="1"
     53             android:layout_height="wrap_content"
     54             android:text="@string/autologin_bar_hide_text"
     55             style="@android:style/Widget.Holo.Light.Button" />
     56         <ProgressBar
     57             android:id="@+id/autologin_progress"
     58             android:indeterminateOnly="true"
     59             android:layout_height="wrap_content"
     60             android:layout_width="wrap_content"
     61             android:visibility="invisible" />
     62         <Button
     63             android:id="@+id/autologin_login"
     64             android:text="@string/autologin_bar_login_text"
     65             style="@android:style/Widget.Holo.Light.Button"
     66             android:layout_height="wrap_content"
     67             android:layout_width="0dip"
     68             android:layout_weight="1" />
     69     </LinearLayout>
     70     <TextView
     71         android:id="@+id/autologin_error"
     72         android:layout_height="wrap_content"
     73         android:layout_width="wrap_content"
     74         android:textColor="#dd6826"
     75         android:text="@string/autologin_bar_error"
     76         android:textAppearance="?android:attr/textAppearanceMedium"
     77         android:visibility="gone" />
     78 </com.android.browser.AutologinBar>
     79