how do i get the value of attribute

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

how do i get the value of attribute

Postby rm123 » Mon Feb 18, 2008 10:39 pm

I'm trying to get the value of the attribute "android.R.attr.listPreferredItemHeight" so i can use it when adding a view.

addView(mText, new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, "value here"));

How do i do that.
rm123
Junior Developer
Junior Developer
 
Posts: 10
Joined: Wed Jan 30, 2008 5:09 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 12 guests