]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_activity.xml
76f3a01eb74461a00e92638bbba02682c522792f
[Dictionary.git] / res / layout / dictionary_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     <!--
8
9     <LinearLayout
10         android:id="@+id/SearchBarLinearLayout"
11         android:layout_width="fill_parent"
12         android:layout_height="wrap_content" >
13
14         <Button
15             android:id="@+id/LangButton"
16             android:layout_width="wrap_content"
17             android:layout_height="wrap_content"
18             android:maxLines="1"
19             android:minWidth="50dip"
20             android:text="" />
21
22         <EditText
23             android:id="@+id/SearchText"
24             android:layout_width="0dip"
25             android:layout_height="wrap_content"
26             android:layout_weight="1.0"
27             android:hint="@string/searchText"
28             android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi"
29             android:inputType="text" />
30
31         <ImageButton
32             android:id="@+id/ClearSearchTextButton"
33             style="@style/BorderlessButton"
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:src="@drawable/ic_input_delete" />
37
38     </LinearLayout>
39
40  -->
41
42     <ListView
43         android:id="@id/android:list"
44         android:layout_width="fill_parent"
45         android:layout_height="fill_parent"
46         android:choiceMode="singleChoice"
47         android:clickable="true"
48         android:fastScrollEnabled="true"
49         android:focusable="true"
50         android:focusableInTouchMode="true" />
51
52     <TextView
53         android:id="@android:id/empty"
54         android:layout_width="match_parent"
55         android:layout_height="match_parent"
56         android:text="@string/noSearchResults" />
57
58 </LinearLayout>