How can I read system settings for virtual keyboards programmatically? I want my app button to behave like the virtual keyboard (beep, vibration or anything) set in the system settings.
You should use the performHapticFeedback
for this. Do not forget to enable it for your ideas in layout xml.
Use Stock
Comments
Post a Comment