From 597c6b1ac3fed45f04e2fa42f2202892d959ef58 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Thu, 4 Apr 2013 15:59:55 +0200 Subject: [PATCH] Showing labels in the navigation list or spinner. --- core/res/layout/list_item_filter.xml | 2 +- core/res/layout/list_item_navigation.xml | 3 +-- .../transdroid/core/gui/TorrentsActivity.java | 20 ++++++++++++++----- core/src/org/transdroid/core/gui/log/Log.java | 19 +++++++++++++++++- .../gui/navigation/FilterListAdapter.java | 17 ++++++++-------- .../transdroid/core/gui/navigation/Label.java | 16 +++++++++++---- .../daemon/Rtorrent/RtorrentAdapter.java | 10 ++++++---- lib/src/org/xmlrpc/android/XMLRPCClient.java | 5 +++++ 8 files changed, 67 insertions(+), 25 deletions(-) diff --git a/core/res/layout/list_item_filter.xml b/core/res/layout/list_item_filter.xml index d80263a3..02c9b77d 100644 --- a/core/res/layout/list_item_filter.xml +++ b/core/res/layout/list_item_filter.xml @@ -12,6 +12,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="17sp" - android:textIsSelectable="true" /> + android:textIsSelectable="false" /> \ No newline at end of file diff --git a/core/res/layout/list_item_navigation.xml b/core/res/layout/list_item_navigation.xml index 1a66c39c..5aaaf349 100644 --- a/core/res/layout/list_item_navigation.xml +++ b/core/res/layout/list_item_navigation.xml @@ -3,8 +3,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="vertical" - android:paddingLeft="@dimen/margin_default" - android:paddingRight="@dimen/margin_default" > + android:paddingRight="@dimen/margin_half" > ()); + navigationListAdapter.updateLabels(new ArrayList