Open button's image on Android when button is visible -
i have large canvas placed multiple buttons. each button has image opened based on button click event. want change such way when button enters screen area, automatically open button image.
i guess need find current button view (that visible on screen) , use functions simulate button click event (view.performclick();
). not entirely sure, suggestion highly appreciated.
can try take both view button view , image @ same position, when click on button view view hide , show image.
Comments
Post a Comment