]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/layout/dictionary_activity.xml
go
[Dictionary.git] / res / layout / dictionary_activity.xml
diff --git a/res/layout/dictionary_activity.xml b/res/layout/dictionary_activity.xml
new file mode 100644 (file)
index 0000000..a251c7d
--- /dev/null
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout 
+       xmlns:android="http://schemas.android.com/apk/res/android"
+       android:orientation="vertical" android:layout_width="fill_parent"
+       android:layout_height="fill_parent">
+
+       <LinearLayout 
+               android:id="@+id/SearchBarLinearLayout"
+               android:layout_height="wrap_content"
+               android:layout_width="fill_parent">
+               
+                       <EditText 
+                               android:id="@+id/SearchText"
+                               android:hint="@string/searchText"
+                               android:layout_width="wrap_content"
+                               android:layout_height="wrap_content" 
+                               android:imeOptions="actionSearch|flagNoEnterAction|flagNoExtractUi"
+                               android:layout_weight="1.0" android:inputType="text"/>
+                               
+      <Button 
+        android:id="@+id/ClearSearchTextButton"
+        android:text="&lt;x"
+        android:minWidth="50dip"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        />
+
+                       <Button 
+                               android:id="@+id/LangButton"
+                               android:text="LANG"
+                               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" 
+                               />
+                               
+                       <Button 
+                               android:id="@+id/UpButton"
+                               android:text="^"
+                               android:minWidth="50dip"
+                               android:layout_width="wrap_content"
+                               android:layout_height="wrap_content" 
+                               />
+               
+       </LinearLayout>
+
+       <ListView 
+               android:id="@id/android:list" 
+               android:layout_width="fill_parent"
+               android:layout_height="fill_parent" 
+               android:choiceMode="singleChoice"
+               android:clickable="true" 
+               android:focusableInTouchMode="true"
+               android:focusable="true"/>
+
+</LinearLayout>