Установка цвета в формате hex
нужно изменить параметр background у ImageButton через .java в формате hex: "#a8a8a8"
Этот код не работает
ImageButton=(ImageButton)findViewById(R.id.ImageButton);
ImageButton.setBackgroundTintMode(#a8a8a8);
нужно изменить параметр background у ImageButton через .java в формате hex: "#a8a8a8"
Этот код не работает
ImageButton=(ImageButton)findViewById(R.id.ImageButton);
ImageButton.setBackgroundTintMode(#a8a8a8);