How to set height and width of compound drawable textview in xml?

Viewed 9181

I can't see any tag to set width

Here I set textview height, if I set width it will not work properly.

<TextView
   android:id="@+id/nome"
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:textColor="#FFFFFF"
   android:drawableLeft="@drawable/ic_launcher"
   android:height="50dp" />

How can I set this in xml? Is it possible?

2 Answers
Related