I put a background to a TextView. I expect the background will adjust to my existing layout parameters and will not change the size of my TextView. So if I have width and height set to wrap_content, I would expect the background also wraps content (and scales down). But no, what I get is a bigger TextView
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="a"
android:textColor="#ffffff"
android:textSize="20sp"
android:background="@drawable/large_bg"
/>
I get

…
How do I make that the background also obeys wrap_content?
I mean, this looks like the background would be treated as content…
This is because when we set background than textView or any Widget adjusts itself according to that background.Until and Unless we have not mentioned the Fix Height and Width[Its Poor approach]