aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorjruesga <jorge@ruesga.com>2012-10-28 03:55:27 +0100
committerjruesga <jorge@ruesga.com>2012-10-28 03:55:27 +0100
commit2765bd3ccbe7696b8f6c7e0c276aece3fe141215 (patch)
treeb3960529b575ea9b2c8b29abe9dba0ea093f2d68 /res/layout
parentde6628e43efa6e80e0ed65463f47c3f05413ba46 (diff)
downloadandroid_packages_apps_CMFileManager-2765bd3ccbe7696b8f6c7e0c276aece3fe141215.tar.gz
android_packages_apps_CMFileManager-2765bd3ccbe7696b8f6c7e0c276aece3fe141215.tar.bz2
android_packages_apps_CMFileManager-2765bd3ccbe7696b8f6c7e0c276aece3fe141215.zip
Flinger gesture detection support (issue #8)
This allow the use of left to right swipe gesture to delete files or folders. Add a new setting to control this behaviour (active by default)
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/bookmarks.xml2
-rw-r--r--res/layout/navigation_view_details.xml3
-rw-r--r--res/layout/navigation_view_simple.xml3
-rw-r--r--res/layout/search.xml2
4 files changed, 6 insertions, 4 deletions
diff --git a/res/layout/bookmarks.xml b/res/layout/bookmarks.xml
index 5ae022e1..f2a0854a 100644
--- a/res/layout/bookmarks.xml
+++ b/res/layout/bookmarks.xml
@@ -17,7 +17,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <ListView
+ <com.cyanogenmod.filemanager.ui.widgets.FlingerListView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/bookmarks_listview"
android:layout_width="match_parent"
diff --git a/res/layout/navigation_view_details.xml b/res/layout/navigation_view_details.xml
index d66977fb..b3c078f3 100644
--- a/res/layout/navigation_view_details.xml
+++ b/res/layout/navigation_view_details.xml
@@ -13,7 +13,8 @@
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License. -->
-<ListView xmlns:android="http://schemas.android.com/apk/res/android"
+<com.cyanogenmod.filemanager.ui.widgets.FlingerListView
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/navigation_view_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
diff --git a/res/layout/navigation_view_simple.xml b/res/layout/navigation_view_simple.xml
index d66977fb..b3c078f3 100644
--- a/res/layout/navigation_view_simple.xml
+++ b/res/layout/navigation_view_simple.xml
@@ -13,7 +13,8 @@
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License. -->
-<ListView xmlns:android="http://schemas.android.com/apk/res/android"
+<com.cyanogenmod.filemanager.ui.widgets.FlingerListView
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/navigation_view_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
diff --git a/res/layout/search.xml b/res/layout/search.xml
index 6e6863cd..befc89e6 100644
--- a/res/layout/search.xml
+++ b/res/layout/search.xml
@@ -68,7 +68,7 @@
android:textAppearance="@style/secondary_text_appearance" />
</RelativeLayout>
- <ListView
+ <com.cyanogenmod.filemanager.ui.widgets.FlingerListView
android:id="@+id/search_listview"
android:layout_width="match_parent"
android:layout_height="match_parent"