[android-developers] LinearLayout as child of ScrollView and View weight's are being ignored
I have a LinearLayout with three views on it TextView, ImageView and TextView. The image was pushing the third TextView off the bottom of the screen, so I added weight to the three views. Now when I place this LinearLayout on a ScrollView, the weights are being ignored! Is there a way to constrain the size of an image without hardcoding pixels? I have tried every android:scaleType available and nothing works quite right.
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home