]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_manager_activity.xml
Picking back up in the middle of a major refactoring of the UI, tyring
[Dictionary.git] / res / layout / dictionary_manager_activity.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     android:layout_width="fill_parent"
5     android:layout_height="fill_parent"
6     android:orientation="vertical" >
7
8     <LinearLayout
9         android:id="@+id/linearLayout1"
10         android:layout_width="match_parent"
11         android:layout_height="wrap_content" >
12
13         <EditText
14             android:id="@+id/filterText"
15             android:layout_width="wrap_content"
16             android:layout_height="wrap_content"
17             android:layout_weight="1"
18             android:hint="@string/managerFilterText" />
19
20         <ImageButton
21             android:id="@+id/ClearSearchTextButton"
22             android:layout_width="wrap_content"
23             android:layout_height="wrap_content"
24             android:layout_weight="0"
25             android:src="@android:drawable/ic_input_delete" 
26             android:contentDescription="@string/clearSearchText"/>
27
28         <ToggleButton
29             android:id="@+id/showLocal"
30             android:layout_width="wrap_content"
31             android:layout_height="fill_parent"
32             android:layout_weight="0"
33             android:textOff="@string/managerFilterCheckboxAll"
34             android:textOn="@string/managerFilterCheckboxLocal" />
35
36     </LinearLayout>
37
38     <ListView
39         android:id="@id/android:list"
40         android:layout_width="fill_parent"
41         android:layout_height="0dip"
42         android:layout_weight="1.0"
43         android:choiceMode="singleChoice"
44         android:clickable="true"
45         android:fastScrollEnabled="true"
46         android:focusable="true"
47         tools:listitem="@layout/dictionary_manager_row" />
48
49     <TextView
50         android:id="@+id/DictionaryListHeader"
51         android:layout_width="fill_parent"
52         android:layout_height="wrap_content"
53         android:hint="@string/helpText" />
54
55 </LinearLayout>