I am trying to make parallelogram background for my textview but it is not displaying properly...it display following output
As alternative to @mmlooloo's answer, whom a credit goes to, I suggest a xml-drawable solution (since you haven't emphasized exactly what kind of solution you're looking for). In the example below I used a general View, however you can use any other.
Here is the View
and shape.xml itself
-
-
-
Here is how it looks like:
