title: how display logo on action bar
body: <p>i want to show logo on my action bar activity and i used below code in manifest:</p>
  
  <pre><code>        &lt;activity
              android:name=".CompanyActivity"
              android:icon="@drawable/ic_launcher"
              android:logo="@drawable/ic_launcher"
              android:label="@string/title"
              android:screenOrientation="portrait"
              android:theme="@style/Theme.AppCompat.Light.DarkActionBar" &gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>and also use both below codes in java, in onCreate method of activity:</p>
  
  <pre><code>getSupportActionBar().setIcon(R.drawable.ic_launcher);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>ActionBar ab = getSupportActionBar();
  ab.setLogo(R.drawable.ic_launcher);
  </code></pre>
  
  <p>but logo not displayed in action bar. what can i do? 
  tnx a lot</p>