]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_activity.xml
About dialog, added pictures, multi word search.
[Dictionary.git] / res / layout / dictionary_activity.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <LinearLayout 
4         xmlns:android="http://schemas.android.com/apk/res/android"
5         android:orientation="vertical" android:layout_width="fill_parent"
6         android:layout_height="fill_parent">
7
8         <LinearLayout 
9                 android:id="@+id/SearchBarLinearLayout"
10                 android:layout_height="wrap_content"
11                 android:layout_width="fill_parent">
12                 
13                         <EditText 
14                                 android:id="@+id/SearchText"
15                                 android:hint="@string/searchText"
16                                 android:layout_width="0dip"
17                                 android:layout_height="wrap_content" 
18         android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi"
19                                 android:layout_weight="1.0" 
20         android:inputType="text"/>
21
22 <!--          android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi" -->
23                                 
24       <Button 
25         android:id="@+id/ClearSearchTextButton"
26         android:drawableLeft="@+drawable/ic_input_delete"
27         android:background="#00000000"
28         android:layout_width="wrap_content"
29         android:layout_height="wrap_content"
30         />  <!-- transparent -->
31
32                         <Button 
33                                 android:id="@+id/LangButton"
34                                 android:text=""
35                                 android:minWidth="50dip"
36                                 android:layout_width="wrap_content"
37                                 android:layout_height="wrap_content"
38                                 />
39                                 
40                         <Button
41                     android:id="@+id/DownButton"
42         android:drawableLeft="@+drawable/arrow_down_float"
43         android:background="#00000000"
44         android:minWidth="30dip" 
45         android:minHeight="30dip"
46                     android:layout_width="wrap_content"
47                     android:layout_height="wrap_content"
48           />
49                                 
50                         <Button 
51                                 android:id="@+id/UpButton"
52         android:drawableLeft="@+drawable/arrow_up_float"
53         android:background="#00000000"
54         android:minWidth="30dip"
55         android:minHeight="30dip"
56                                 android:layout_width="wrap_content"
57                                 android:layout_height="wrap_content" 
58                                 />
59                 
60         </LinearLayout>
61
62         <ListView 
63                 android:id="@id/android:list" 
64                 android:layout_width="fill_parent"
65                 android:layout_height="fill_parent" 
66                 android:choiceMode="singleChoice"
67                 android:clickable="true" 
68                 android:focusableInTouchMode="true"
69                 android:focusable="true"/>
70  
71   <TextView android:id="@android:id/empty"
72     android:layout_width="match_parent"
73     android:layout_height="match_parent"
74     android:text="@+string/noSearchResults"/>
75
76 </LinearLayout>