Forgot to mention... This is only for landscape orientation. In portrait, the image will align to the bottom.
On Feb 26, 10:25 pm, knavewave <[email protected]> wrote: > If I put a "fill_parent" RelativeLayout beneath a ScrollView, I can > not get an ImageView to align to the parent's bottom. > > <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="fill_parent" > android:layout_height="fill_parent"> > <RelativeLayout > android:layout_width="fill_parent" > android:layout_height="fill_parent"> > <ImageView > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:layout_alignParentBottom="true" > android:layout_alignParentLeft="true" > android:src=.... /> > </RelativeLayout> > </ScrollView> > > As a bit of basic sanity, I have verified that the ImageView will > align to the parent's bottom if I do either of the following. > > 1) Change "ScrollView" to "HorizontalScrollView" > 2) Delete the ScrollView leaving only the RelativeLayout > > This is very trivial. Why is it not working? -- You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en.
