I'm trying to create an EditText
with custom background, and a compound drawable
to the left, but outside the background (currently it's appearing overlapped to the background); something like this.-
Is this possible?
I'm trying to create an EditText
with custom background, and a compound drawable
to the left, but outside the background (currently it's appearing overlapped to the background); something like this.-
Is this possible?
If your background is the white box - then no, it's not possible to draw outside of the TextView
's bounds.
Although you can use a compound background, set the orange colour with the white box inside of it as your TextView
's background, then you'll be able to set the mailbox as the left drawable of your TextView
.