HowTo make ListView Larger so more than one item visible at a time ?

by Mark Murphy » Fri, 15 Jan 2010 07:22:00 GMT


Sponsored Links
 


Do not wrap a ListView in a ScrollView. ScrollView is for use with
widgets that do not know how to scroll; ListView already can scroll its
own contents.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

_The Busy Coder's Guide to Android Development_ Version 2.8
Available!



Other Threads

1. Why must WebView display local files via a ContentProvider?

In case you hadn't heard, WebView won't display local files directly
via loadUrl("file://YOUR_PATH/file.html).  All the solutions create a
ContentProvider to access the local files and send them to a WebView
using ContentProvider.openFile().

This approach seems less secure than simply sending my locally created
application files files directly to WebView.  My app creates and
stores the files in my sandboxed local file directory so they should
be inaccessible to anyone and thus secure.

I know the standard response for why this is:  "That WebView's access
to local files would be insecure".

But why is it safer to wrap files into a ContentProvider and then feed
them to WebView when the purpose of a ContentProviders is mostly to
share content between apps.. .which I won't be doing?

So my questions:
1) What was wrong with the local file solution for WebView.loadUrl().
2) Why is it safer to wrap my local files into a ContentProvider?

Thanks,
Anthony
--~--~---------~--~----~------------~-------~--~----~

2. Maps and M5, impossible??

Hi,

We have an application developed with M5-rc15 SDK that uses maps.
Migrate it  to 1.0 its a hard work and application is only for demo
purpose. (we need to show it only one more time!!)

Is there any way to show now a map in M5?

Thanks,

Altais.
--~--~---------~--~----~------------~-------~--~----~

3. any 'android for dummies' resources out there?

4. Android Icon Creation Software

5. Getting GPS Location Crashes

6. The application project(process package name) has stopped unexpectedly.please try again.force close

7. Play custom audio format ?