title: Can't set TextView shadow programmatically
body: <p>I'm creating a TextView dynamically and set shadow to it using the method posted here: <a href="https://stackoverflow.com/questions/2486936/android-shadow-on-text">Android - shadow on text?</a></p>
  
  <p>But it doesn't work. The style is applied (put textSize item to test, and it works), but the shadow doesn't appear.</p>
  
  <p>TextView:</p>
  
  <pre><code>TextView tv = new TextView(this);
  RelativeLayout.LayoutParams layoutPars = new RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
  layoutPars.addRule(RelativeLayout.CENTER_VERTICAL); 
  tv.setTextColor(0xffffffff);
  tv.setText(label);
  tv.setTextSize(11);
  tv.setTextAppearance(getApplicationContext(), R.style.BlackShadow);
  </code></pre>
  
  <p>Style:</p>
  
  <pre><code>&lt;style name="BlackShadow"&gt;  
      &lt;item name="android:shadowColor"&gt;#ff000000&lt;/item&gt;
      &lt;item name="android:shadowRadius"&gt;1&lt;/item&gt;
      &lt;item name="android:shadowDx"&gt;-1&lt;/item&gt;
      &lt;item name="android:shadowDy"&gt;-1&lt;/item&gt;
      &lt;item name="android:textSize"&gt;26dip&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>