Android: soft keyboard efficient key press effect?
on softkeyboard, which one is better to give user a visual feedback during keypress:
1.redraw portion of button that was pressed to background canvas of main View
to give pressed effect
2.each button has its own "pressed" View
, an开发者_运维知识库d that View
is set to visible (flashing) during keypress event (so no redraw needed but need more memory)
I know its trade-off between speed and memory usage, but I just want to know what you will do under this situation.
You wont be able to see the key because your finger will be covering it! The character being added to the focused text field might be enough.
精彩评论