ImageButton next;
next.setImageDrawable(?);
1 respuesta
Exacto, setImageDrawable pondrá la imagen mediante código, pero asegurate de obtener el Drawable por medio de : next.setImageDrawable(getResources().getDrawable(R.drawable.nombre_de_tu_imagen));