ListView forms part of an activity, rather than the activity?
For my next application, I'd like a ListView to form part of the app. Specifically, I'd like it to be t开发者_开发问答he top half of the screen. Having looked through the documentation, I've only been able to find full screen list views, ie with the list taking up the full screen.
Is there any way of doing ListViews differently? I know there must be, but I'm unsure how to implement them myself. Does anyone have any pointers?
Just put the ListView
in a container, like a LinearLayout
or RelativeLayout
, along with peer widgets. Like you see here.
精彩评论