4

I need help designing an app for tablets.

My app was uploaded into Play Store contains everything related to tablet screen size, such as:

layout folder:

  • activity_main.xml
  • activity_main.xml(w600dp)
  • activity_main.xml(w720dp)

mipmap folder:

  • image.png(hdpi)
  • image.png(mdpi)
  • image.png(xxdpi)

Manifest.xml I also put

<supports-screens
    android:anyDensity="true"
    android:smallScreens="true"
    android:normalScreens="true"
    android:resizeable="true"
    android:largeScreens="true"
    android:xlargeScreens="true" />

But the Optimization Tip still alerts me as follows:

Your APK should include custom drawables assets for common tablet screen densities.

a2800276
  • 3,272
  • 22
  • 33
  • do you have drawable folders, thats probably why its alerting you, usually its there you put your png icons etc for different screen sizes – Tasos Aug 29 '15 at 15:10
  • Hi Tasos, Yes, I have drawable but all image asset I stored in mipmap folder. It's wrong that I stored image asset in mipmap? – Sothea Thaing Aug 30 '15 at 03:42
  • reading this http://stackoverflow.com/questions/23935810/mipmap-drawables-for-icons mipmap folders should only have the launcher icons so move all icons from there in their respected drawable folders and change @mipmap/ .. to @drawable/.. but keep the launcher one in the mipmap's folder – Tasos Aug 30 '15 at 10:53
  • Hi Tasos Aug, Thanks you so much for your help :) Now I can make my app support to all screen size by adding image to drawable folder (h, x, xx, xxx) and modifies Manifest file :) – Sothea Thaing Nov 25 '15 at 03:06

0 Answers0