expandablelistview

Showing items in listview similar as in MS Access in C#

Is it possible to create ListView in C# (in Details View) just like in MS Access where when you can show in ListView things that are connected with particular item by some ID so you can clearly see those items are binded together. Currently I'm using colors so that when 3 items in same table are connected with same ID they are marked wit...

Divider for ExpandableListView

How do you create a dummy header view for every first child in the ExpandableListView created using CursorTreeAdapter? The header need not have dynamic content and can be a simple view inflated. (I am also setting tags to retrieve data later onItemClicks & onLongItemClicks) Any pointers will be most helpful. Thanks ...

Android : Is there a way to animate both group and listview of an ExpandableListView ?

Hello, I'm new to StackOverflow and I hope to find some help about ExpandableListView. I'm using an ExpandableListView having several groups but only one child in each group. The child is a custom view (FrameLayout) which contains some ImageViews. Only one group can be expanded at the same time (this is ok). I would like to animate th...

ListView OnClickListener not working within TabActivity

I have a ListView and an ExpandableListView inside of a TabActivity. I have overridden the setOnItemClickListener for the ListView. I have 2 tabs and one uses the ListView and the other uses the ExpandableListView. For some reason I cannot click on any of the items in the first ListView. If I change tabs to the ExpandableListView and...

ExpandableListView with buttons

I'm considering a UI change that will look like such: There will be a list of items in an ExpandableListView. Clicking on an item expands 1 more item below it. This item will have its own view which will contain a number of things pertaining to the item it expanded from. Basically, imagine clicking on the original list item and being...

How do I navigate from child View to it's group View in ExpandableListView on Android?

Each child in my ExpandableListView builds a context menu. In my OnCreateContextMenuListener() I need to access some of the TextViews that are displaying data associated with the child's group. ExpandableListView.getPackedPositionGroup() tells me which group is the child's parent, but I've been unable to figure out how to use this to get...

Using TextFilter with custom ExpandableListView on Android

I am using an ExpandableListView with custom child and group elements that I inflate from the xml on the fly. setTextFilterEnabled does not seem to work anymore, probably because it doesn't know what data in the child view needs to be used to perform the filtering. Is there any way I can specify that? ...

Distinct values in Android ExpandableListView

Hi all, I'm having trouble with an ExpandableListView. What I want is for each group to be from column "bond", which is non-unique, but I want the groups to be unique (i.e. each value of "bond" should only have one group). Each value in the group has data in other columns which should be displayed. The problem is that it seems I can eit...

Child headers for ExpandableListView using CursorTreeAdapter

How do I create a header for every expanded ChildView without affecting my underlying data and onClick / onLongClick events on the ChildView. Below is the skeleton implementation of my ExpandableListView adapter: private class EAdapter extends CursorTreeAdapter { public EAdapter(Cursor cursor, Context context) { super(cursor, contex...

ExpandableListView and CheckedTextView strange behavior

I have an ExpandableListActivity with a CursorTreeAdapter and CheckedTextView displayed. It's working fine on click (I have to toggle the CheckedTextView by hand but that's because this is an ExpandableListView) but when the adapter call requery on the cursor, items that are checked are not the right one (as equal as before). Do you hav...

Android ExpandableListView does not work (Black/Empty Screen)

Hi @ll, i try to build a ExpandableListView with a own ExpandableListAdapter but the ExpandableListView is not visible in my activity :-( Below you find my Source-Code. Thanks for your help :-) Greetings, Kangee Here the Code from the activity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS...

Why won't expandablelistview work with context menus?

My app used to use a standard ListView, and registerForContextMenu(getListView()) and everything worked just fine. I needed to change my app to accommodate nested lists so I replaced the ListView with ExpandableListView. I changed the Activity to ExpandableListActivity. I also changed my adapter to a tree adapter and implemented a cust...

android expandableListView - add items to a specific group at run time

Hi all , i met a problem , i have a expandableListView has 5 groups if i wanna add some items to the second group , and update the expandableListView at run time, could someone teach me how to do that? ...

Is it possible to use an expandablelistview as a dropdownview for a spinner ?

I have a 2d array of strings. I would like to use a spinner to allow users to select values from the 2nd lvl of the array but I would like to display the selection options in a expandablelistview using the values of the 1st lvl of the array as category headers. Is this possible, can someone point me in the right direction of how this sh...

Dynamically adjust the height of group headers in an ExpandableListView

I have an ExpandableListView (ELV) with the groups having LinearLayout. I have set the height of the group to some value (38dip in this case, equivalent to two lines of text). If the group heading is long and would take more than 2 lines, it is not shown properly in the ELV item - some part of the view gets scrolled. On the other hand, i...

Android ExpandableListView problem

Hi everybody, i have a problem with ExpandableListView: in my app i use a ExpandableListView and i fill it with my adapter "class MyExpandableListAdapter extends BaseExpandableListAdapter". In method public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { if (...

Android: Clicking on ExpandableList to transfer contact number to edit text (for contact finder)

Hey, what i want to do is to do a SMS sender & receiver. All that is left is a contact finder. Basically what i can do right now (for the contact finder) : - Able to display the contacts - Able to toast text after clicking on the child But what i can't do is to transfer the contact number to an edit text , since i can't seem to find th...

expandablelistview animation

I would like to do an animation for child elements when I expand a group in an ExpandableListView. Is there a common way to do that without starting animations on child views manually? ...

how to implement the expandablelist in android?

hi, i amm try to replicate the inbuilt contact app.... how can i have a + button to add multiple phone and email? also i want the fastscrollview to be enabled in it ...

How to create ExpandableListView in Android using java code ?

Hello all.I am new to android.I need to create ExpandableListView by using java code(without using xml design).This is my very first task.Can anyone help me?Thanks in Advance !!! ...