Android 应用未 "designed for tablets" 由于可绘制对象

Android app not "designed for tablets" due to drawables

Google Play 指出我的应用不是为平板电脑设计的:"Your APK should include custom drawables assets for common tablet screen densities." 它链接到平板电脑应用质量页面上的 4. Use assets designed for tablet screens。我正在尝试了解我为何不符合第 4 节的规定,非常感谢您提供见解。

  1. 有关平板电脑资产的第 4 部分对于操作栏图标大小是否准确?看起来 32dp 是指定的大小(mdpi 为 32x32px),但这似乎与我的操作栏(工具栏)的 material touch target size specification, which specifies 24dp. I use 24dp assets from the Google material-design-icons 套件冲突,并且没有 32dp Android 图标这样的东西在套房里。

  2. 我在我的项目中包含 drawable-xhdpidrawable-xxhdpidrawable-xxxhdpi PNG 可绘制资源,但我没有包含 drawable-hdpi 资源。这可能是我不 "designed for tablets?" 文档说明所有可绘制对象的 hdpi、xhdpi、xxhdpi 或 xxxhdpi 大小的 "optimized for at least one" 的原因,我已经为至少一个这样做了。

  3. 我的启动器图标大小正确,包括 mdpi - xxxhdpi 版本(mipmap-mdpimipmap-hdpi 等)。

对于遇到此问题的任何人,我提交了 Design for Tablet Contact Form,您可以使用它来让 Google 知道为什么您认为您的应用程序是为平板电脑设计的(即使它没有这样标记) ). Google 审核了我提交的内容并同意,该应用现在被标记为专为平板电脑设计。

在提交表单之前,您应该首先确保您的应用满足Tablet App Quality Checklist