How to set buttons in scrollable ImageView?


How to set buttons in scrollable ImageView?



The first page "Candy Crush Saga Game" is a scrollable ImageView or not (what is that?). If that is a scrollable ImageView how to set buttons in that?
Scrolling ImageView ex: Android: Scrolling an Imageview


ImageView


ImageView


ImageView





You can try to put the image view in a relative layout and set the touch listener on the relative layout. Inside the relative layout, above the image view add any button you like and it will scroll with the image view. Then you can set clickListeners on the buttons.
– Alexandru Sandu
Jun 29 at 18:03





Can you post the code that you have tried?
– user15741
Jun 29 at 18:38









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Opening a url is failing in Swift

Possible Unhandled Promise Rejection (id: 0): ReferenceError: user is not defined ReferenceError: user is not defined