From 0071efd2975ec82c44d1b7d02e3c64d06e267c24 Mon Sep 17 00:00:00 2001 From: Jesse Young Date: Wed, 14 Sep 2011 12:26:14 -0700 Subject: [PATCH] improve ForwardInbox with help from http://www.marvinlabs.com/2010/10/custom-listview-ability-check-items/ --- res/layout/inbox.xml | 2 +- res/layout/inbox_item.xml | 29 ++--- .../kalsms/CheckableRelativeLayout.java | 105 ++++++++++++++++++ src/org/envaya/kalsms/ForwardInbox.java | 43 ++++--- src/org/envaya/kalsms/IncomingMessage.java | 5 +- src/org/envaya/kalsms/InertCheckBox.java | 72 ++++++++++++ 6 files changed, 225 insertions(+), 31 deletions(-) create mode 100755 src/org/envaya/kalsms/CheckableRelativeLayout.java create mode 100755 src/org/envaya/kalsms/InertCheckBox.java diff --git a/res/layout/inbox.xml b/res/layout/inbox.xml index 9bd2a9b..64a14ac 100755 --- a/res/layout/inbox.xml +++ b/res/layout/inbox.xml @@ -9,7 +9,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" - android:drawSelectorOnTop="false"/> + android:choiceMode="multipleChoice" />