Is it possible to set drawableLeft outsite the TextViews 9patch background?
i'm using this code:
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/background_9patch"
android:drawableLeft="@drawable/leftImg"
android:text="Hello World" />
and I want that android:drawableLeft="@drawable/leftImg" will be at the left of the android:background="@drawable/background_9patch" .
- Can I do it with a single TextView or should i use TextView + ImageView in a LinearLayout ?
- Can I set the size of the drawable in: drawableLeft?