I'm new developer in android ...and programming with intellij .
How i can show another activty when i pressing the button and close it when i release my finger of button ? Similar to samsung keyboard that when we pressing the key show the larger version of that above it ?
I'm really need to know it .. thanks for your helps .
Though this is not a proper answer of your question but this may help you because it helped me.
You can use a popup window or something like this instead of activity. Android PopupWindow with Tooltip Arrow
If you do then follow this. "Press and hold" button on Android needs to change states (custom XML selector) using onTouchListener
Thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.