Not sure if this would be the right place to ask... but It's worth a shot cause it's driving me nuts.
I'm developing a app for Android and my buttons seem to be flickering. I'm using an overlay view for the buttons on top.
//button1.setVisibility(View.VISIBLE);
button2 = (Button) overlayView.findViewById(R.id.button2);
button2.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
//button1.setVisibility(View.VISIBLE);
button2 is always visible, indicated from the XML file. It does not flicker.
button1 is invisible from the XML file. If set in the first line does not flicker. It flickers if I set it on the second line and not the first.
I think it has something to do with views but I can't figure it out. The flickering buttons also disappear when there's a toast/alertDialog.
Help please! Appeciation!
