]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/layout/dictionary_activity.xml
About dialog, added pictures, multi word search.
[Dictionary.git] / res / layout / dictionary_activity.xml
index a251c7d57205265c8fd8235d1b0da2e2b6f432bf..1afaa70559d2c5b2d0eee3c109948e4179293192 100644 (file)
                        <EditText 
                                android:id="@+id/SearchText"
                                android:hint="@string/searchText"
-                               android:layout_width="wrap_content"
+                               android:layout_width="0dip"
                                android:layout_height="wrap_content" 
-                               android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi"
-                               android:layout_weight="1.0" android:inputType="text"/>
+        android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi"
+                               android:layout_weight="1.0" 
+        android:inputType="text"/>
+
+<!--          android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi" -->
                                
       <Button 
         android:id="@+id/ClearSearchTextButton"
-        android:text="&lt;x"
-        android:minWidth="50dip"
+        android:drawableLeft="@+drawable/ic_input_delete"
+        android:background="#00000000"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        />
+        />  <!-- transparent -->
 
                        <Button 
                                android:id="@+id/LangButton"
-                               android:text="LANG"
+                               android:text=""
                                android:minWidth="50dip"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                />
                                
                        <Button
-                               android:id="@+id/DownButton"
-                               android:text="v"
-                               android:minWidth="50dip"
-                               android:layout_width="wrap_content"
-                               android:layout_height="wrap_content" 
-                               />
+                   android:id="@+id/DownButton"
+        android:drawableLeft="@+drawable/arrow_down_float"
+        android:background="#00000000"
+        android:minWidth="30dip" 
+        android:minHeight="30dip"
+                   android:layout_width="wrap_content"
+                   android:layout_height="wrap_content"
+          />
                                
                        <Button 
                                android:id="@+id/UpButton"
-                               android:text="^"
-                               android:minWidth="50dip"
+        android:drawableLeft="@+drawable/arrow_up_float"
+        android:background="#00000000"
+        android:minWidth="30dip"
+        android:minHeight="30dip"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content" 
                                />
                android:clickable="true" 
                android:focusableInTouchMode="true"
                android:focusable="true"/>
+  <TextView android:id="@android:id/empty"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:text="@+string/noSearchResults"/>
 
 </LinearLayout>