Trying to avoid my views touches receiving feedback from overlays ....
Here is an example of a hack someone could do on Android to allow the user to unintentionally pres
public class MyActivity extends Activity {
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
final Button myButton = (Button)findViewById(R.id.button_id);
myButton.setFilterTouchesWhenObscured(true);
myButton.setOnClickListener(new View.OnClickListener() {
// Perform action on click
public void onClick(View v) {
}
}
}
}
write this code for critical buttons