title: android - showing listView in PreferenceActivity
body: <p>i wish to show a listView on a PreferenceActivity similar to what the android OS wifi-settings has for the list of networks (example <a href="http://www.flickr.com/photos/56742088@N06/5395382392/" rel="nofollow">here</a> , on the bottom area of the image) .
  however , such a thing isn't availabe ,  so i've created a new class that extends Preference , and what i returned in the onCreateView is just a ListView instance .</p>
  
  <p>it worked , but the listView has a constant size of about a single item no matter what i do to its layoutParams and no matter what i do to the adapter . even if i set the adapter inside the onCreateView , it has the exact same size .</p>
  
  <p>not only that , but the listView cannot be scrolled , even though it is clear that it has multiple items within it .</p>
  
  <p>i would , of course, want to use the same text size standard as on all of the preferences , to give a native feeling.</p>
  
  <p>can anyone please tell me what can be done in order to make it work well?</p>
  
  <p>btw, the app should work for android API 10+ (minimum 10) .</p>