OSDN Git Service

Do not automatically enable gestures in list based on filtering/fastscroll status.
authorRomain Guy <romainguy@android.com>
Mon, 8 Jun 2009 21:50:28 +0000 (14:50 -0700)
committerRomain Guy <romainguy@android.com>
Mon, 8 Jun 2009 21:50:28 +0000 (14:50 -0700)
Enable gestures in Contacts for now.

res/layout-finger/contacts_list_content.xml

index 32b7ffc..7850d69 100644 (file)
@@ -4,9 +4,9 @@
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
-  
+
           http://www.apache.org/licenses/LICENSE-2.0
-  
+
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         android:orientation="vertical">
 
     <ListView android:id="@android:id/list"
-            android:layout_width="fill_parent" 
+            android:layout_width="fill_parent"
             android:layout_height="fill_parent"
             android:fastScrollEnabled="true"
+            android:gestures="filter"
     />
 
     <ScrollView android:id="@android:id/empty"