PageRenderTime 14ms CodeModel.GetById 8ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/WebVox/res/layout-land/http_authentication.xml

http://eyes-free.googlecode.com/
XML | 73 lines | 52 code | 7 blank | 14 comment | 0 complexity | 4fc38b832b61094ae772326577dd9668 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<!-- Copyright (C) 2008 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:layout_width="fill_parent"
19    android:layout_height="wrap_content"
20    android:gravity="center_horizontal"
21    android:orientation="vertical">
22
23    <TableLayout
24        android:layout_width="fill_parent"
25        android:layout_height="wrap_content"
26        android:layout_marginTop="12dip"
27        android:gravity="center_horizontal" >
28    
29        <TableRow>
30            <TextView android:id="@+id/username_view"
31                android:textSize="18sp"
32                android:textColor="@color/username_text"
33                android:text="@string/username"
34                android:gravity="right"
35                android:layout_marginLeft="20dip" />
36
37            <EditText android:id="@+id/username_edit"
38                android:textSize="18sp"
39                android:textColor="@color/username_edit"
40                android:scrollHorizontally="true"
41                android:autoText="false"
42                android:capitalize="none"
43                android:gravity="fill_horizontal"
44                android:layout_weight="1"
45                android:layout_marginLeft="10dip"
46                android:layout_marginRight="20dip"
47                android:layout_marginBottom="12dip" />
48        </TableRow>
49
50        <TableRow>
51            <TextView android:id="@+id/password_view"
52                android:textSize="18sp"
53                android:textColor="@color/password_text"
54                android:text="@string/password"
55                android:gravity="right"
56                android:layout_marginLeft="20dip" />
57    
58            <EditText android:id="@+id/password_edit"
59                android:textSize="18sp"
60                android:textColor="@color/password_edit"
61                android:scrollHorizontally="true"
62                android:autoText="false"
63                android:capitalize="none"
64                android:gravity="fill_horizontal"
65                android:layout_weight="1"
66                android:layout_marginLeft="10dip"
67                android:layout_marginRight="20dip"
68                android:layout_marginBottom="12dip"
69                android:password="true" />
70        </TableRow>
71    </TableLayout>
72
73</LinearLayout>