1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2011 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content"> 20 <LinearLayout android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:orientation="vertical" 23 android:padding="3mm"> 24 25 <TextView style="@style/item" android:text="@string/address"/> 26 <EditText style="@style/item" android:id="@+id/address"/> 27 28 <TextView style="@style/item" android:text="@string/port"/> 29 <EditText style="@style/item" android:id="@+id/port" android:inputType="number"/> 30 31 <TextView style="@style/item" android:text="@string/secret"/> 32 <EditText style="@style/item" android:id="@+id/secret" android:password="true"/> 33 34 <TextView style="@style/item" android:text="@string/proxyhost"/> 35 <EditText style="@style/item" android:id="@+id/proxyhost"/> 36 37 <TextView style="@style/item" android:text="@string/proxyport"/> 38 <EditText style="@style/item" android:id="@+id/proxyport" android:inputType="number"/> 39 40 <TextView style="@style/item" android:text="@string/packages"/> 41 <RadioGroup 42 style="@style/item" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:orientation="horizontal"> 46 <RadioButton 47 android:id="@+id/allowed" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:text="@string/allowed"/> 51 <RadioButton 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:text="@string/disallowed"/> 55 </RadioGroup> 56 <EditText style="@style/item" android:id="@+id/packages"/> 57 58 <Button style="@style/item" android:id="@+id/connect" android:text="@string/connect"/> 59 <Button style="@style/item" android:id="@+id/disconnect" android:text="@string/disconnect"/> 60 61 </LinearLayout> 62 </ScrollView> 63