title: Change the actionbar homeAsUpIndicator Programmatically
body: <p>I used the following hack to change the homeAsupIndicator programmatically.</p>
  
  <pre><code>int upId = Resources.getSystem().getIdentifier("up", "id", "android");
  if (upId &gt; 0) {
      ImageView up = (ImageView) findViewById(upId);
  up.setImageResource(R.drawable.ic_action_bar_menu);
  up.setPadding(0, 0, 20, 0);
  }
  </code></pre>
  
  <p>But this is not working on most new phones (HTC One, Galaxy S3, etc). Is there a way that can be changed uniformly across devices. I need it to be changed only on home screen. Other screens would have the default one. So cannot use the styles.xml</p>