1 <?xml version="1.0" encoding="utf-8"?>
3 /* //device/apps/Browser/res/layout/proxy.xml
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 <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">
28 android:textStyle="bold"
30 android:layout_marginTop="8dip"
31 android:layout_width="wrap_content" android:layout_height="wrap_content"
32 android:text="@string/proxy_hostname_label" />
34 <EditText android:id="@+id/hostname"
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" />
43 android:textStyle="bold"
45 android:layout_marginTop="4dip"
46 android:layout_width="wrap_content" android:layout_height="wrap_content"
47 android:text="@string/proxy_port_label" />
49 <EditText android:id="@+id/port"
50 android:numeric="integer"
52 android:layout_marginTop="2dip"
53 android:layout_width="fill_parent" android:layout_height="wrap_content"
54 android:scrollHorizontally="true" />
57 android:orientation="horizontal"
58 android:paddingTop="8dip"
59 android:layout_width="wrap_content" android:layout_height="wrap_content">
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" />
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" />
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" />