title: Actionbar Back/Home Arrow Padding and Pressed State
body: <p>I wanted to have up/home arrow button in my activity ActionBar to provide users option for navigating up. In my activity, I have set  set  <code>getActionBar().setDisplayHomeAsUpEnabled(true);</code> and also have defined <code>parentActiviy</code> in Manifest like this:</p>
  
  <pre><code>&lt;activity
          android:name="com.g_node.gca.map.MapActivity"
          android:parentActivityName="com.g_node.gca.MainActivity"
          android:label="@string/title_activity_map" &gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>It works and I see a left-arrow icon before the icon in ActionBar, that onClick takes back to parentActivity. But I don't see any change in state of actionbar title or icon, when it's clicked/pressed.</p>
  
  <p><strong>How can I style that so when user clicks on that icon, it shows a <code>pressed</code> state? Like in following screenshot:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/LEo5j.jpg" alt="enter image description here"></p>
  
  <p>Moreover, <strong>How can I set the padding between the left-arrow icon and the actionbar icon ?</strong> In my activity actionbar, both are almost sticked, see screenshot below for reference:</p>
  
  <p><img src="https://i.stack.imgur.com/hvkcc.jpg" alt="enter image description here"></p>
  
  <p>One more thing - I'm setting this icon in my activity pragmatically using <code>getActionBar().setIcon(getResources().getDrawable(R.drawable.icon_maps));</code> and icon size is 128 x 128. </p>
  
  <p>Thankyou in advance for help.</p>