]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/layout/dictionary_manager_activity.xml
UI refinements.
[Dictionary.git] / res / layout / dictionary_manager_activity.xml
index b808593d986c900dbbc6c7fd62f43cf8073aa37d..a611fc6ec4dec6eb2a30bbc3f9a1bad87bbfaa0f 100644 (file)
@@ -1,55 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
-    android:orientation="vertical" >
-
-    <LinearLayout
-        android:id="@+id/linearLayout1"
-        android:layout_width="match_parent"
-        android:layout_height="wrap_content" >
-
-        <EditText
-            android:id="@+id/filterText"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_weight="1"
-            android:hint="@string/managerFilterText" />
-
-        <ImageButton
-            android:id="@+id/ClearSearchTextButton"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:layout_weight="0"
-            android:src="@android:drawable/ic_input_delete" 
-            android:contentDescription="@string/clearSearchText"/>
-
-        <ToggleButton
-            android:id="@+id/showLocal"
-            android:layout_width="wrap_content"
-            android:layout_height="fill_parent"
-            android:layout_weight="0"
-            android:textOff="@string/managerFilterCheckboxAll"
-            android:textOn="@string/managerFilterCheckboxLocal" />
-
-    </LinearLayout>
+    android:orientation="vertical">
 
     <ListView
         android:id="@id/android:list"
         android:layout_width="fill_parent"
-        android:layout_height="0dip"
-        android:layout_weight="1.0"
+        android:layout_height="fill_parent"
         android:choiceMode="singleChoice"
         android:clickable="true"
-        android:fastScrollEnabled="true"
         android:focusable="true"
-        tools:listitem="@layout/dictionary_manager_row" />
-
-    <TextView
-        android:id="@+id/DictionaryListHeader"
-        android:layout_width="fill_parent"
-        android:layout_height="wrap_content"
-        android:hint="@string/helpText" />
+        android:focusableInTouchMode="true" />
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>