ImageButton ib = (ImageButton)findViewById(R.id.ib);
ib.getBackground().setColorFilter(Color.GRAY, PorterDuff.Mode.MULTIPLY);
ImageButton ib = (ImageButton)findViewById(R.id.ib);
ib.getBackground().setColorFilter(Color.GRAY, PorterDuff.Mode.MULTIPLY);