From 852c5dd7dce5132fa5e79036a34d19a13dae6334 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Thu, 20 Jun 2013 17:17:30 +0200 Subject: [PATCH] Allow modification of selection (select all or invert) from the CAB. --- core/res/values-v16/styles.xml | 1 + core/res/values/strings.xml | 2 + .../transdroid/core/gui/DetailsFragment.java | 28 +++-- .../transdroid/core/gui/TorrentsFragment.java | 27 ++--- .../gui/navigation/SelectionManagerMode.java | 110 ++++++++++++++++++ .../SelectionModificationSpinner.java | 98 ++++++++++++++++ 6 files changed, 236 insertions(+), 30 deletions(-) create mode 100644 core/src/org/transdroid/core/gui/navigation/SelectionManagerMode.java create mode 100644 core/src/org/transdroid/core/gui/navigation/SelectionModificationSpinner.java diff --git a/core/res/values-v16/styles.xml b/core/res/values-v16/styles.xml index 35fbd18b..b3cef559 100644 --- a/core/res/values-v16/styles.xml +++ b/core/res/values-v16/styles.xml @@ -23,6 +23,7 @@