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.

enter image description here

can try take both view button view , image @ same position, when click on button view view hide , show image.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -