]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_manager_activity.xml
Enable fast scrolling in dictionary list.
[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     android:layout_width="fill_parent"
4     android:layout_height="fill_parent"
5     android:orientation="vertical" >
6
7     <LinearLayout
8         android:id="@+id/linearLayout1"
9         android:layout_width="match_parent"
10         android:layout_height="wrap_content" >
11
12         <EditText
13             android:id="@+id/filterText"
14             android:layout_width="wrap_content"
15             android:layout_height="wrap_content"
16             android:layout_weight="1"
17             android:hint="@string/managerFilterText" />
18
19         <CheckBox
20             android:id="@+id/showLocal"
21             android:layout_width="wrap_content"
22             android:layout_height="wrap_content"
23             android:layout_weight="0"
24             android:text="@string/managerFilterCheckbox" />
25     </LinearLayout>
26
27     <ListView
28         android:id="@id/android:list"
29         android:layout_width="fill_parent"
30         android:layout_height="0dip"
31         android:layout_weight="1.0"
32         android:choiceMode="singleChoice"
33         android:clickable="true"
34         android:fastScrollEnabled="true"
35         android:focusable="true" />
36
37     <TextView
38         android:id="@+id/DictionaryListHeader"
39         android:layout_width="fill_parent"
40         android:layout_height="wrap_content"
41         android:hint="@string/helpText" />
42
43 </LinearLayout>