Change the height of element in ListView

Put your problem here if it does not fit any of the other categories.

Change the height of element in ListView

Postby srinuv28 » Tue Nov 17, 2009 9:58 am

Hi.

How to change height of element in ListView.

Thanx.
srinuv28
Developer
Developer
 
Posts: 36
Joined: Wed Nov 04, 2009 4:04 am

Top

Postby srinuv28 » Wed Nov 18, 2009 4:25 am

Hi Friends...

How to change the ListView items height size...


Thanks..
srinuv28
Developer
Developer
 
Posts: 36
Joined: Wed Nov 04, 2009 4:04 am

Re: Change the height of element in ListView

Postby Jorgesys » Wed Dec 02, 2009 7:08 pm

hi srinuv28

android:layout_width="100px"
android:layout_height="150px"

You can use instead pixels a floating point number 10.2sp. dp (density independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

_http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html

Happy cOdIng
Jorgesys

srinuv28 wrote:Hi.

How to change height of element in ListView.

Thanx.
Jorgesys
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Dec 02, 2009 6:23 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests