You should get the size available passed to you in onMeasure, then
take all of it when you setMeasuredDimension.

Read more from this reference and others:
http://developer.android.com/reference/android/view/View.html

Mark the other components as "wrap_content" and yours as
"fill_parent". Then you should get the rest of the area, and the first
row will only take what it needs.





-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to