in my app I use XML defined vertical dotted line.
Controlling Hardware Acceleration
You can control hardware acceleration at the following levels:
Application
Activity
Window
View
Application level
Activity level
Window level
getWindow().setFlags(
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
View level
myView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
Reference