title: Remove a Paint Flag in Android
body: <p>My code looks like this:</p>
  
  <pre><code>    TextView task_text = (TextView) view.findViewById(R.id.task_text);
      task_text.setPaintFlags( task_text.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG);
  </code></pre>
  
  <p>This causes a strike through effect to appear on the text. However, I'd like to know how to remove the flag once set, and how to detect that the flag is set.</p>
  
  <p>I understand this is a bitwise operation, but I've tried both ~ and - operators, neither work.</p>