working gui
[adBlock.git] / res / layout / main.xml
blob82ff2d075e7522b1565e3ee52e9d16395de5c1e6
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3         android:orientation="vertical" android:layout_width="fill_parent"
4         android:layout_height="fill_parent">
6         <LinearLayout android:layout_width="fill_parent"
7                 android:layout_height="wrap_content" android:layout_weight="0">
8                 <EditText android:hint="@string/port_" android:text="8080"
9                         android:id="@+id/port" android:layout_width="wrap_content"
10                         android:layout_height="wrap_content" android:layout_marginRight="10sp"
11                         android:inputType="number" />
12                 <Button android:text="@string/start_" android:id="@+id/start_service"
13                         android:layout_width="fill_parent" android:layout_height="wrap_content"
14                         android:layout_weight="1" />
15                 <Button android:text="@string/stop_" android:id="@+id/stop_service"
16                         android:layout_width="fill_parent" android:layout_height="wrap_content"
17                         android:layout_weight="1" />
18         </LinearLayout>
19         <TextView android:text="@string/filter_" android:layout_width="wrap_content"
20                 android:layout_height="wrap_content" />
21         <ListView android:id="@+id/filter" android:layout_width="fill_parent"
22                 android:layout_height="wrap_content" android:layout_weight="1" />
24         <LinearLayout android:layout_width="fill_parent"
25                 android:layout_height="wrap_content">
26                 <EditText android:id="@+id/filter_add" android:layout_width="wrap_content"
27                         android:layout_height="wrap_content" android:layout_weight="1" />
28                 <Button android:text="@string/add_filter" android:id="@+id/filter_add_"
29                         android:layout_width="wrap_content" android:layout_height="wrap_content"
30                         android:layout_weight="0" />
31         </LinearLayout>
32         
35 </LinearLayout>