Google has shown some nice ways that buttons are shown on Lollipop here.
I\'m talking about both the raised and the flat buttons.
How can I mimic them on pre
In addition to @spierce7 answer, I improved that layout a little bit. So now it has a relative layout in it, which sets our custom TextView exactly in a center of CardView. So here is it.
//just my custom height