Custom LiveFolders

by dipu » Wed, 21 Apr 2010 07:57:24 GMT


Sponsored Links
 Is there a way to customize the android.provider.LiveFolders for
display purposes? For example I would like to show rounded border,
size the folder(height and width) according to the content, etc.

--



Other Threads

1. Multiple selection ListView question

I am trying to achieve what should be a very simple task.  Create a
ListView that allows multiple selection, set some initial values
selected, display the ListView and then retrieve the selected items
once the user has finished manipulating the list.

I have a custom dialog with a ListView and the following in the
constructor

        ListView theList = (ListView)
findViewById(R.id.excluded_apps_list);
        theList.setItemsCanFocus(false);
        theList.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);

        ArrayAdapter<String> arrayAdapter = new
ArrayAdapter<String>(context, R.layout.appspicker_itemview, test);
        theList.setAdapter(arrayAdapter);

        for (String s : _itemNames) {
                arrayAdapter.add(s);
        }

        theList.setItemChecked(0, true);

The list displays fine and the first item is checked as expected.
Once the dialog closes I do the following to get the checked item
positions:

        ListView theList = (ListView)
findViewById(R.id.excluded_apps_list);
        SparseBooleanArray checked = theList.getCheckedItemPositions();

The problem is that even if I deselect the first item and then close
the dialog, getCheckedItemPositions() still indicates that the item is
checked.  If I remove the call to setItemChecked(), everything works
fine but I really need the ability to set the inital checked state of
the list items.

Any ideas what I'm doing wrong?

-- 

2. To display the soft keyboard during the launch itself

i have an activity with few edit text views and a button. The Soft
Keyboard is visible when I click the edit text view. But i want the
soft keyboard to be visible  during the launch itself , without
clicking the edit text itself i must get the soft keyboard on the
screen. Can  anyone plzzz help me out in this ....

-- 

3. How could I avoid others to get my used pictures in my application?

4. A error has been shown when I run the example in the facebook SDK for android

5. SUPL INIT message handling

6. chat software

7. Android Freezes