title: Set style for TextView programmatically
body: <p>I'm trying to use the <code>TextView</code> constructor with style like this:</p>
  
  <pre><code>TextView myText = new TextView(MyActivity.this, null, R.style.my_style);
  </code></pre>
  
  <p>However, when I do this, the text view does not appear to take the style (I verified the style by setting it on a static object).</p>
  
  <p>I've also tried using <code>myText.setTextAppearance(MyActivity.this, R.style.my_style)</code> but it also doesn't work.</p>