Ändern Sie programmgesteuert drawableLeft of Button

Ich benutze einen Button

<Button
        android:id="@+id/zoom"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@color/trans"
        android:drawableLeft="@drawable/left_img"
        android:fontFamily="arial"
        android:text="My Name is "
        android:textSize="50sp" />

und Ändern der Textfarbe mit:

zoom.setTextColor(Color.parseColor("voilet"));

aber nicht in der Lage zu verstehenhow to change its image??

Antworten auf die Frage(5)

Ihre Antwort auf die Frage