Hi every one,

I have an query that, if I add an image view by align parent then  it
sticks to ScrollView not to relative layout. My layout xml is as
follow

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android";
        android:layout_width="fill_parent"
android:layout_height="fill_parent"
        android:id="@+id/dealScroll" android:background="@drawable/
whiteBackground"
        android:scrollbarFadeDuration="3000"
        android:scrollbarDefaultDelayBeforeFade="2000"
android:fadeScrollbars="true">

        <RelativeLayout android:layout_width="fill_parent"
                android:layout_height="fill_parent" 
android:id="@+id/dealRelative">

<Button android:layout_alignParentLeft="true"
                        android:id="@+id/merchantLocationButton"
                        android:layout_width="wrap_content"
android:layout_height="wrap_content"
                        android:layout_margin="5dp" 
android:background="@drawable/
merchant_loc_button"></Button>
                <Button android:layout_alignParentRight="true"
                        android:id="@+id/descriptionButton"
                        android:layout_width="wrap_content"
android:layout_height="wrap_content"
                        android:layout_margin="5dp"    
android:background="@drawable/
description_button"></Button>
                <ImageView android:src="@drawable/footer" 
android:scaleType="fitXY"
                        android:layout_alignParentBottom="true"
android:layout_width="fill_parent"
                        android:layout_height="wrap_content"></ImageView>

        </RelativeLayout>
</ScrollView>


What I am missing? plz help.

Thanks in adv
Sapna

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to