Note that there are some explanatory texts on larger screens.

plurals
  1. POIcons in menu are smaller than they should be
    text
    copied!<p><strong>SOLVED:</strong> I was using icons from sdk v9 (Android 2.3 Gingerbread) which seems to have different dimension. The asset studio also creates icons for 2.3. So I placed gingerbread icons to drawable-xxpi-v9 and for older versions I put icons from SDK v8 to drawable-hdpi and it works fine now</p> <p>Original question: Hello I have a little problem. All the icons in my apk are smaller than the same icons in other apps (Gmail etc.) This is how it looks like in <a href="http://dl.dropbox.com/u/5860650/small%20icons/myApk.png" rel="nofollow">my apk</a> and this is the same icon in <a href="http://dl.dropbox.com/u/5860650/small%20icons/gmail.png" rel="nofollow">Gmail.apk</a>. I have copied these icons directly from SDK to the specific folders for hdpi, mdpi and ldpi.</p> <p>Here is an example of a hdpi <a href="http://dl.dropbox.com/u/5860650/small%20icons/ic_menu_refresh.png" rel="nofollow">icon</a> I use and my menu.xml</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item android:id="@+id/refresh" android:title="@string/refresh" android:icon="@drawable/ic_menu_refresh" /&gt; &lt;item android:id="@+id/add" android:title="@string/add" android:icon="@drawable/ic_menu_add" /&gt; &lt;item android:id="@+id/login" android:title="@string/account" android:icon="@drawable/ic_menu_login" /&gt; &lt;/menu&gt; </code></pre> <p>Does anybody know how to make these icon have the same size as in other apk's? I have tried the asset studio with no effect.</p> <p><strong>UPDATE:</strong> If I reference an icon directly from android (android:drawable) then it has normal size. However not all icons can be referenced.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload