1 <?xml version="1.0" encoding="utf-8"?>
5 ** Copyright 2006, The Android Open Source Project
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
11 ** http://www.apache.org/licenses/LICENSE-2.0
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.
20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent" >
25 android:orientation="vertical"
26 android:paddingStart="6dip"
27 android:paddingEnd="6dip"
28 android:paddingBottom="3dip"
29 android:layout_width="match_parent" android:layout_height="wrap_content"
30 android:scrollbars="vertical" >
33 android:textStyle="bold"
35 android:layout_marginTop="8dip"
36 android:layout_width="wrap_content" android:layout_height="wrap_content"
37 android:text="@string/proxy_hostname_label" />
39 <EditText android:id="@+id/hostname"
41 android:layout_marginTop="2dip"
42 android:layout_width="match_parent" android:layout_height="wrap_content"
43 android:autoText="false"
44 android:capitalize="none"
45 android:scrollHorizontally="true" />
48 android:textStyle="bold"
50 android:layout_marginTop="4dip"
51 android:layout_width="wrap_content" android:layout_height="wrap_content"
52 android:text="@string/proxy_port_label" />
54 <EditText android:id="@+id/port"
55 android:numeric="integer"
57 android:layout_marginTop="2dip"
58 android:layout_width="match_parent" android:layout_height="wrap_content"
59 android:scrollHorizontally="true" />
62 android:textStyle="bold"
64 android:layout_marginTop="4dip"
65 android:layout_width="wrap_content" android:layout_height="wrap_content"
66 android:text="@string/proxy_exclusionlist_label" />
68 <EditText android:id="@+id/exclusionlist"
70 android:layout_marginTop="2dip"
71 android:layout_width="match_parent" android:layout_height="wrap_content"
72 android:autoText="false"
73 android:capitalize="none"
74 android:singleLine="true"
75 android:scrollHorizontally="true" />
78 android:orientation="horizontal"
79 android:paddingTop="8dip"
80 android:layout_width="wrap_content" android:layout_height="wrap_content">
82 <Button android:id="@+id/action"
83 android:layout_width="wrap_content" android:layout_height="match_parent"
84 android:layout_weight="1"
85 android:text="@string/proxy_action_text" />
87 <Button android:id="@+id/clear"
88 android:layout_width="wrap_content" android:layout_height="match_parent"
89 android:layout_weight="1"
90 android:text="@string/proxy_clear_text" />
92 <Button android:id="@+id/defaultView"
93 android:layout_width="wrap_content" android:layout_height="match_parent"
94 android:layout_weight="1"
95 android:text="@string/proxy_defaultView_text" />