To change the indicator when expanded, you can do something with the state_expanded state. In the drawable which indicates the Drawable parameter of setGroupIndicator(drawable), you set the state_expanded state in the context of a stateful Drawable. Don't see any examples of how do do this.
http://code.google.com/android/reference/android/R.styleable.html#ExpandableListGroupIndicatorState_state_expanded - Juan T. On Nov 3, 12:25 am, "for android" <[EMAIL PROTECTED]> wrote: > Also i was interested in know when I expand a group ,is there any way i > change image other than implementing the > public void setOnGroupExpandListener( > ExpandableListView.OnGroupExpandListener<http://code.google.com/android/reference/android/widget/ExpandableLis...>onGroupExpandListener) > and then chagning the image through the api reference > u provided. > > Also,can I have different images as indicators to each item of the group in > an expandable list.Thats something like this > > Image1 <Text1> > Image2 <Text2> > Image3 <Text3> > > Thanks for your time > > On Mon, Nov 3, 2008 at 10:39 AM, jtaylor <[EMAIL PROTECTED]> wrote: > > > public void setGroupIndicator(Drawable groupIndicator) > > >http://code.google.com/android/reference/android/widget/ExpandableLis...)<http://code.google.com/android/reference/android/widget/ExpandableLis...> > > > - Juan T. > > > On Oct 29, 4:00 am, "for android" <[EMAIL PROTECTED]> wrote: > > > How can i create a customised Expandable list where the group identifer > > > image is different than the already given ones in the apis.. > > > > On Mon, Oct 27, 2008 at 6:46 PM, jtaylor <[EMAIL PROTECTED]> wrote: > > > > > I'm just supposing that each class is a table. I don't know how > > > > android.provider is set up, though I guess one can now see from the > > > > source code. > > > > > - Juan > > > > > On Oct 27, 9:15 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > > That looks like two tables. > > > > > > Contacts.People > > > > > Contacts.People.Phones > > > > > > - Juan > > > > > > On Oct 26, 12:52 pm, Anm <[EMAIL PROTECTED]> wrote: > > > > > > > jtaylor, > > > > > > Did you read the example? It does not do a joint. Instead it uses > > a > > > > > > Uri subpath notation for its child query, within the same table > > rather > > > > > > than joining multiple tables. The references to "group" in the > > code > > > > > > are not contact group membership, but rather ExpandableList parent > > > > > > node/"groups". > > > > > > > On Oct 25, 11:51 am, jtaylor <[EMAIL PROTECTED]> wrote: > > > > > > > > ExpandableList2.java has the getChildrenCursor() (in the > > > > > > > MyExpandableListAdapter inner class) which has the code for > > obviously > > > > > > > a contentprovider Join. > > > > >http://code.google.com/android/samples/ApiDemos/src/com/example/andro. > > .. > > > > > > > > - Juan > > > > > > > > On Oct 25, 2:47 pm, jtaylor <[EMAIL PROTECTED]> wrote: > > > > > > > > > ExpandableList2. > > > >http://code.google.com/android/samples/ApiDemos/src/com/example/andro. > > .. > > > > > > > > > - Juan > > > > > > > > > On Oct 24, 3:05 am, Anm <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I'm struggling to understand how to do a join, if its > > possible, > > > > with > > > > > > > > > the decomposed SQL arguments of the ContentProvider APIs. Is > > > > there an > > > > > > > > > example out there? > > > > > > > > > > Or if not, could some code up a quick example, say joining > > People > > > > with > > > > > > > > > GroupMembership? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

