When I include the below XML to layout file, I can see the below image. If you see it, you could realize that the TextView has top and bot
XML
TextView
Inside a LinearLayout the default padding might be an issue. Try setting it to 0dp. It worked for me.