Statistics
| Branch: | Revision:

root / res / layout / addaccessrule.xml @ 1a79c76b

History | View | Annotate | Download (1.9 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3
        android:orientation="vertical" android:layout_width="fill_parent"
4
        android:layout_height="fill_parent">
5
        <LinearLayout android:layout_height="wrap_content"
6
                android:layout_width="fill_parent" android:id="@+id/linearLayout1"
7
                android:orientation="vertical">
8
                <TextView android:layout_height="wrap_content" android:id="@+id/textView1"
9
                        android:layout_marginTop="5dip" android:text="Action"
10
                        android:layout_width="wrap_content" android:layout_marginLeft="5dip"></TextView>
11
                <Spinner android:layout_height="wrap_content"
12
                        android:layout_width="fill_parent" android:layout_marginLeft="22dip"
13
                        android:layout_marginRight="30dip" android:id="@+id/rule_action_spinner"></Spinner>
14
                <TextView android:layout_height="wrap_content" android:id="@+id/textView2"
15
                        android:layout_marginTop="10dip" android:layout_width="wrap_content"
16
                        android:layout_marginLeft="5dip" android:text="IP Addresses / Networks"></TextView>
17
                <EditText android:layout_width="fill_parent" android:layout_above="@+id/add_text_file_buttons"
18
                        android:layout_below="@+id/file_contents_view"
19
                        android:layout_marginLeft="22dip" android:layout_marginRight="30dip"
20
                        android:gravity="top" android:layout_height="100dip" android:id="@+id/rule_address"></EditText>
21
                <TextView android:layout_height="wrap_content" android:id="@+id/textView3"
22
                        android:layout_marginRight="30dip" android:textSize="11dip"
23
                        android:layout_width="wrap_content" android:layout_marginLeft="22dip" android:text="Enter IP addresses or networks in CIDR notation; separate multiple entries with commas. The network 0.0.0.0/0 can be used to create a rule for all traffic."></TextView>
24
                <Button android:layout_height="wrap_content"
25
                        android:layout_gravity="center" android:layout_marginTop="10dip"
26
                        android:text="Add Rule" android:layout_width="120dip" android:id="@+id/add_rule_button"></Button>
27
        </LinearLayout>
28

    
29
</ScrollView>