The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 3 | /* |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 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 | --> |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 20 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" > |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 23 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 24 | <LinearLayout |
| 25 | android:orientation="vertical" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 26 | android:paddingStart="6dip" |
| 27 | android:paddingEnd="6dip" |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 28 | android:paddingBottom="3dip" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 29 | android:layout_width="match_parent" android:layout_height="wrap_content" |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 30 | android:scrollbars="vertical" > |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 31 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 32 | <TextView |
| 33 | android:textStyle="bold" |
| 34 | android:maxLines="1" |
| 35 | android:layout_marginTop="8dip" |
| 36 | android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 37 | android:text="@string/proxy_hostname_label" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 38 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 39 | <EditText android:id="@+id/hostname" |
| 40 | android:maxLines="1" |
| 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" /> |
Oscar Montemayor | 0541189 | 2010-08-03 16:56:09 -0700 | [diff] [blame] | 46 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 47 | <TextView |
| 48 | android:textStyle="bold" |
| 49 | android:maxLines="1" |
| 50 | android:layout_marginTop="4dip" |
| 51 | android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 52 | android:text="@string/proxy_port_label" /> |
Oscar Montemayor | 0541189 | 2010-08-03 16:56:09 -0700 | [diff] [blame] | 53 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 54 | <EditText android:id="@+id/port" |
| 55 | android:numeric="integer" |
| 56 | android:maxLines="1" |
| 57 | android:layout_marginTop="2dip" |
| 58 | android:layout_width="match_parent" android:layout_height="wrap_content" |
| 59 | android:scrollHorizontally="true" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 60 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 61 | <TextView |
| 62 | android:textStyle="bold" |
| 63 | android:maxLines="1" |
| 64 | android:layout_marginTop="4dip" |
| 65 | android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 66 | android:text="@string/proxy_exclusionlist_label" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 67 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 68 | <EditText android:id="@+id/exclusionlist" |
| 69 | android:maxLines="1" |
| 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" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 76 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 77 | <LinearLayout |
| 78 | android:orientation="horizontal" |
| 79 | android:paddingTop="8dip" |
| 80 | android:layout_width="wrap_content" android:layout_height="wrap_content"> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 81 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 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" /> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 86 | |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 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" /> |
| 91 | |
| 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" /> |
| 96 | |
| 97 | </LinearLayout> |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 98 | </LinearLayout> |
Amith Yamasani | 57acae3 | 2010-12-17 12:08:43 -0800 | [diff] [blame] | 99 | </ScrollView> |