From f6f1b471193f0cf1187c960b45a236f310560094 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Fri, 3 Aug 2012 11:26:42 +0200 Subject: [PATCH] Merged patch from Alexey Rogovoy with label-related fixes. --- android/AndroidManifest.xml | 6 +- android/project.properties | 2 +- android/res/layout/dialog_new_label.xml | 8 +- android/res/layout/list_item_label.xml | 9 +-- .../org/transdroid/gui/SetLabelDialog.java | 3 +- .../transdroid/gui/TorrentProgressBar.java | 3 + .../org/transdroid/gui/TorrentsFragment.java | 22 +++++- .../daemon/Bitflu/BitfluAdapter.java | 2 +- .../daemon/BuffaloNas/BuffaloNasAdapter.java | 2 +- .../DLinkRouterBT/DLinkRouterBTAdapter.java | 2 +- .../daemon/Deluge/DelugeAdapter.java | 2 +- .../daemon/Ktorrent/KtorrentAdapter.java | 2 +- lib/src/org/transdroid/daemon/Label.java | 79 +++++++++++++++++++ .../Qbittorrent/QbittorrentAdapter.java | 2 +- .../daemon/Rtorrent/RtorrentAdapter.java | 2 +- .../daemon/Tfb4rt/Tfb4rtAdapter.java | 2 +- .../Transmission/TransmissionAdapter.java | 2 +- .../daemon/Utorrent/UtorrentAdapter.java | 25 +++++- .../transdroid/daemon/Vuze/VuzeAdapter.java | 2 +- .../task/RetrieveTaskSuccessResult.java | 8 +- 20 files changed, 154 insertions(+), 31 deletions(-) create mode 100644 lib/src/org/transdroid/daemon/Label.java diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 92753978..3209d370 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -18,11 +18,11 @@ --> - + diff --git a/android/project.properties b/android/project.properties index 44fd2acb..b6221954 100644 --- a/android/project.properties +++ b/android/project.properties @@ -10,6 +10,6 @@ # Indicates whether an apk should be generated for each density. split.density=false # Project target. -target=android-14 +target=android-13 apk-configurations= android.library.reference.1=../external/JakeWharton-ActionBarSherlock/library diff --git a/android/res/layout/dialog_new_label.xml b/android/res/layout/dialog_new_label.xml index 9dd184c3..d7de2f8a 100644 --- a/android/res/layout/dialog_new_label.xml +++ b/android/res/layout/dialog_new_label.xml @@ -11,7 +11,7 @@ android:layout_height="wrap_content" android:orientation="vertical" android:minHeight="54dip" - android:background="#80000000"> + android:background="#80000000"> - + android:inputType="textShortMessage" + android:textColor="#999999" + />