android - Implement onScrollChanged Event -
i have 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 implement absolutelayout
's onscrollchanged
in activity
class.
how can implement this?
Comments
Post a Comment