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- mobile search. 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
-~----------~----~----~----~------~----~------~--~---