OSDN Git Service

am d9d8ef26: Merge "b/2335780 Fixed race conditions which causes BT to not be in...
[android-x86/packages-apps-Settings.git] / res / layout / proxy.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* //device/apps/Browser/res/layout/proxy.xml
4 **
5 ** Copyright 2006, The Android Open Source Project
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License"); 
8 ** you may not use this file except in compliance with the License. 
9 ** You may obtain a copy of the License at 
10 **
11 **     http://www.apache.org/licenses/LICENSE-2.0 
12 **
13 ** Unless required by applicable law or agreed to in writing, software 
14 ** distributed under the License is distributed on an "AS IS" BASIS, 
15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
16 ** See the License for the specific language governing permissions and 
17 ** limitations under the License.
18 */
19 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
21     android:orientation="vertical"
22     android:paddingLeft="6dip"
23     android:paddingRight="6dip"
24     android:paddingBottom="3dip"
25     android:layout_width="fill_parent" android:layout_height="wrap_content">
26
27     <TextView
28         android:textStyle="bold"
29         android:maxLines="1"
30         android:layout_marginTop="8dip"
31         android:layout_width="wrap_content" android:layout_height="wrap_content"
32         android:text="@string/proxy_hostname_label" />
33
34     <EditText android:id="@+id/hostname"
35         android:maxLines="1"
36         android:layout_marginTop="2dip"
37         android:layout_width="fill_parent" android:layout_height="wrap_content"
38         android:autoText="false"
39         android:capitalize="none"
40         android:scrollHorizontally="true" />
41
42     <TextView
43         android:textStyle="bold"
44         android:maxLines="1"
45         android:layout_marginTop="4dip"
46         android:layout_width="wrap_content" android:layout_height="wrap_content"
47         android:text="@string/proxy_port_label" />
48
49     <EditText android:id="@+id/port" 
50         android:numeric="integer"
51         android:maxLines="1" 
52         android:layout_marginTop="2dip"
53         android:layout_width="fill_parent" android:layout_height="wrap_content"
54         android:scrollHorizontally="true" />
55
56     <LinearLayout 
57         android:orientation="horizontal"
58         android:paddingTop="8dip"
59         android:layout_width="wrap_content" android:layout_height="wrap_content">
60
61         <Button android:id="@+id/action" 
62             android:layout_width="wrap_content" android:layout_height="fill_parent"
63             android:layout_weight="1"
64             android:text="@string/proxy_action_text" />
65
66         <Button android:id="@+id/clear" 
67             android:layout_width="wrap_content" android:layout_height="fill_parent"
68             android:layout_weight="1"
69             android:text="@string/proxy_clear_text" />
70
71         <Button android:id="@+id/defaultView" 
72             android:layout_width="wrap_content" android:layout_height="fill_parent"
73             android:layout_weight="1"
74             android:text="@string/proxy_defaultView_text" />
75
76     </LinearLayout>
77 </LinearLayout>
78