Top "Compound-drawables" questions

Handling click events on a drawable within an EditText

I have added an image right of the text in an EditText widget, using the following XML: <EditText android:…

android android-studio android-edittext android-widget compound-drawables
How can I shrink the drawable on a button?

how can I make the drawable on a button smaller? The icon is too big, actually higher than the button. …

android scale compound-drawables
Is it possible to use VectorDrawable in Buttons and TextViews using android:DrawableRight?

When I use VectorDrawable assets in a textview or imageview I get a runtime crash when using "android:DrawableRight" / "android:…

java android android-layout android-vectordrawable compound-drawables
Set actual text padding in TextView with compound drawables

I have a ListView populated with an ArrayAdapter. For items I use just a single TextView layout. I want some …

android textview padding compound-drawables
How to set height and width of compound drawable textview in xml?

I can't see any tag to set width Here I set textview height, if I set width it will not …

android xml compound-drawables
How to vertically align text in a TextView with Compound Drawable

This question is in a way a continuation of my last question. My problem now is pretty much the same, …

android android-layout layout textview compound-drawables