in my app I use XML defined vertical dotted line.
I found a same solution but in View attributes (xml):
I suppose it's a View level as said above. Other variants for attribute ("none" and of course "hardware") didn't work for me.