Closed Nailik closed 4 years ago
@Nailik the start
is basically just a synonym for the compoundDrawableLeft
if you want to remove a compound drawable programmatically. just use the relevant TextView
method
(pass null for all)
But why is it not possible to set it to invisible (Why is there the function when it doesn't work).
I now use itemView.txtInformation.iconicsDrawableStart!!.alpha(0)
This function is from the Drawable
class and not from IconicsDrawable
I see (.. didn't check) ...
So i think it's somewhere in TextView
invalidateDrawable
and just doesn't work with the IconcisDrawable
but i can't check at the moment.
Couldn't this be fixed in Iconics or do you just want to wait if this one day get's fixed in the Android lib?
As of the Drawable
documentation. We might will support this at some date. But no promise. Will investigate regarding if it makes sense to offer.
I have a
IconicsTextView
in XML:when i set:
itemView.txtInformation.iconicsDrawableStart!!.setVisible(false, false)
the Icon is still visible. It returnstrue
(hasChanged) and false forisVisible
.I use:
I would be happy if anyone can check this or if i'm the only one with this bug.