and the images dynamic, I get it by an id refers to the bmp files in /res/drawable/id.bmp
Thanks very much BR, Luke Wang Douglas MacArthur - "We are not retreating - we are advancing in another direction." On Thu, Dec 18, 2008 at 2:17 PM, Luke w <[email protected]> wrote: > How can i customize it like this: > >Group > > [image1] [item1] > > [image2] [item2] > > [image3] [item3] > >Group > > [image1] [item1] > > [image2] [item2] > > [image3] [item3] > >Group > > [image1] [item1] > > [image2] [item2] > > [image3] [item3] > > BR, > Luke Wang > > Bob Hope - "I don't feel old. I don't feel anything till noon. That's when > it's time for my nap." > > On Wed, Sep 24, 2008 at 4:27 PM, Muthu Ramadoss > <[email protected]>wrote: > >> >> And you can ExpandableListView the same way as a List: >> >> <ExpandableListView >> android:id="@+android:id/list" >> android:layout_width="fill_parent" >> android:layout_height="fill_parent" >> android:layout_weight="1" >> /> >> >> >> On Sep 24, 1:21 pm, Muthu Ramadoss <[email protected]> wrote: >> > Ok, for showing an empty view.. a framelayout is required as shown by >> > APIDemo: >> > >> > <!-- The frame layout is here since we will be showing either >> > the empty view or the list view. --> >> > <FrameLayout >> > android:layout_width="fill_parent" >> > android:layout_height="0dip" >> > android:layout_weight="1" > >> > <!-- Here is the list. Since we are using a ListActivity, we >> > have to call it "@android:id/list" so ListActivity will >> > find it --> >> > <ListView android:id="@android:id/list" >> > android:layout_width="fill_parent" >> > android:layout_height="fill_parent" >> > android:drawSelectorOnTop="false"/> >> > >> > <!-- Here is the view to show if the list is emtpy --> >> > <TextView android:id="@+id/empty" >> > android:layout_width="fill_parent" >> > android:layout_height="fill_parent" >> > android:text="@string/list_8_no_photos"/> >> > >> > </FrameLayout> >> > >> > On Sep 24, 12:34 pm, Muthu Ramadoss <[email protected]> wrote: >> > >> > > Trying to set an empty view for the ExpandableListView with the >> > > following code: >> > >> > > final TextView textView = new TextView(Results.this); >> > > textView.setText("No Results. Please do a Search to see >> > > Results."); >> > > textView.setWidth(200); >> > > textView.setHeight(200); >> > > // Tell the list view which view to display when the list is >> > > empty >> > > final ExpandableListView listView = getExpandableListView(); >> > > listView.setEmptyView(textView); >> > >> > > Still showing a blank empty screen. How to do this? >> > >> > > On Sep 24, 11:18 am, "Muthu Ramadoss" <[email protected]> >> > > wrote: >> > >> > > > What's the default layout ExpandableListActivity (ELA) uses? And >> what's the >> > > > id of the list that ELA uses? >> > >> > > > I've looked at the APIDemos, and the 3 examples just work with the >> bundled >> > > > ExpandableListView and the bundled default layout. >> > >> > > > Any pointers on how to customize/override is welcome. >> > >> > > > -- >> > > > take care, >> > > > Muthu Ramadoss. >> > >> > > >http://mobeegal.in-mobilesearch. redefined. +91 98403 48914 >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

