Height of a ListView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Height of a ListView

Postby Katharnavas » Fri Dec 28, 2007 1:01 pm

I wanna set the height for a listView so that the list should be displayed to that height and the remaining parts of the screen should be used for other views.. And one more thing how to display a list view to a particular position in the screen not need to be absolute..
Senior Developer
Senior Developer
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India


Postby plusminus » Fri Dec 28, 2007 4:58 pm

Hello Katharnavas,

what about:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. android:maxHeight
  3. android:Height
Parsed in 0.000 seconds, using GeSHi

Did you mean that it can be absolute or must not be absolute :?:

Image | Android Development Community / Tutorials
User avatar
Site Admin
Site Admin
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby sjtcool » Wed Jan 02, 2008 6:41 am

hi, Katharnavas, maybe you can try android:weight.
Best regards,
good good study,day day up
Junior Developer
Junior Developer
Posts: 11
Joined: Wed Dec 19, 2007 3:18 am
Location: Nanjing


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests