tags:

views:

30

answers:

0

I have an AbsoluteLayout xml:

<AbsoluteLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/MeasureAbsLayout"  
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">

    <ImageView android:id="@+id/MeasureImageView"
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent">
    </ImageView>

    <RelativeLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
        <Button android:text="Previous" 
            android:layout_height="wrap_content" 
            android:id="@+id/MeasurePrev"           
            android:layout_alignParentBottom="true"
            android:layout_width="wrap_content">
        </Button>

        <Button android:text="Result"
            android:layout_height="wrap_content" 
            android:id="@+id/MeasureResult"         
            android:layout_alignParentRight="true"
            android:layout_alignParentBottom="true"
            android:layout_width="wrap_content">
        </Button>
    </RelativeLayout>
</AbsoluteLayout>

I want to implement AbsoluteLayout's onScrollChanged in my Activity class.

How can I implement this?