title: How to make two pixel width splitter in Android
body: <p>I'm developing a simple Android application that would have an action bar on the top of the screen:</p>
  
  <p><img src="https://i.stack.imgur.com/vJ7if.png" alt="enter image description here"></p>
  
  <p>I already have the bar with the gradient background (drawable) and the arrow icon set but I'm not sure how to create that two pixel width splitter. </p>
  
  <p>The color of the left column of pixels is <code>#5e5e5e</code> and the right one is <code>#181818</code>. </p>
  
  <p>What is the best way (optimized for performance) to create such a reusable splitter? </p>
  
  <p>The best would be to make this splitter as a widget.</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>The bar is a <code>LinearLayout</code> with a gradient background and the arrow is a single transparent <code>ImageView</code>.</p>