On Mon, Feb 8, 2010 at 9:42 PM, Kasra Rahjerdi <[email protected] > wrote:
> I have that ID for the listview, but how do I tell ListActivity to use > that layout? ListActivity already supplies me with its own ListView, > how do I override that? > You should be able to call setContentView() in your ListActivity's onCreate method. If you pass in the layout that contains the ListView with the specified ID, it should use that. If that's not working, something weird is going on. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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

