I read documentation and it says like this "A style can specify properties such as height, padding, font color, font size, background color, and much more" now my question is what is "more". Is that means that I can define different properties for for android:src ? that is something like this
<item name="android:src">@drawable/attachment1</item>
I try background property and it works fine
<item name="android:background">#55FFFFFF</item>
but not src property :-(.
What do I do wrong ?
The background-image CSS property sets one or more background images on an element.
The background-size CSS property lets you resize the background image of an element, overriding the default behavior of tiling the image at its full size by specifying the width and/or height of the image.
Try:
<item name="android:background">@drawable/attachment1</item>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With