(セットアップで) 使用しようとしている setColorFilter がそれらに適用されるため、ボタンから Drawable を取得する必要があります。
ImageButton btn = (ImageButton) myLayout.findViewByID(R.id.my_button);
int mycolor = getResources().getColor(R.color.best_color);
btn.getDrawable().setColorFilter(mycolor, PorterDuff.Mode.SRC_ATOP);
Drawable オブジェクトへの正しい参照がある限り、
e.g. textView.getCompoundDrawables()[2].setColorFilter(...);
そのxmlで:
<TextView
...
android:drawableLeft="..."
...
/>
myDrawableObject.setColorFilter() を好みに合わせて使用できます。
編集:
ImageButton の場合、drawable は にimageButton.getDrawable()
対応し、android:src="..."
一方でプロパティimageButton.getBackground()
に対応しandroid:background="..."
ます。正しいドローアブルで setColorFilter を呼び出していることを確認してください。