Android 应用并非“专为平板电脑设计";由于drawables

Android app not quot;designed for tabletsquot; due to drawables(Android 应用并非“专为平板电脑设计;由于drawables)
本文介绍了Android 应用并非“专为平板电脑设计";由于drawables的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Play 声明我的应用不是为平板电脑设计的:您的 APK 应包含适用于常见平板电脑屏幕密度的自定义可绘制资源."它链接到 4.在平板电脑应用质量页面上使用专为平板电脑屏幕设计的素材资源.我正在尝试了解我是如何不符合第 4 条的,我将不胜感激.

Google Play states that my app is not designed for tablets: "Your APK should include custom drawables assets for common tablet screen densities." It links to 4. Use assets designed for tablet screens on the Tablet app quality page. I'm trying to understand how I'm not compliant with section 4, and I'd appreciate insights.

  1. 关于平板电脑资产的第 4 部分是否对操作栏图标大小也准确?看起来 32dp 是指定的大小(mdpi 为 32x32px),但这似乎与 材质触摸目标尺寸规范,指定24dp.我将 Google material-design-icons 套件中的 24dp 资源用于我的操作栏(工具栏),并且套件中没有 32dp Android 图标之类的东西.

  1. Is section 4 on tablet assets even accurate for Action Bar icon sizes? It looks like 32dp is the specified size (32x32px at mdpi), but that appears to conflict with the material touch target size specification, which specifies 24dp. I use 24dp assets from the Google material-design-icons suite for my Action Bar (Toolbar), and there is no such thing as a 32dp Android icon in the suite.

我在我的项目中包含了 drawable-xhdpidrawable-xxhdpidrawable-xxxhdpi PNG 可绘制资源,但是我没有包含 drawable-hdpi 资产.这可能是我不是为平板电脑设计的"的原因吗?文档指出,所有可绘制对象都应该针对 hdpi、xhdpi、xxhdpi 或 xxxhdpi 大小中的至少一种进行优化",我已经为至少一种进行了优化.

I have included drawable-xhdpi, drawable-xxhdpi, and drawable-xxxhdpi PNG drawable assets in my project, but I have not included drawable-hdpi assets. Could this be the reason why I'm not "designed for tablets?" The documentation states that all drawables should be "optimized for at least one" of hdpi, xhdpi, xxhdpi, or xxxhdpi sizes, and I have done this for at least one.

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

My launcher icon sizes are correct and include mdpi - xxxhdpi versions (mipmap-mdpi, mipmap-hdpi, etc.).

推荐答案

对于任何为此苦苦挣扎的人,我提交了 平板电脑设计联系表,您可以使用它让 Google 知道您为什么认为您的应用是为平板电脑设计的(即使它没有这样标记).Google 审核了我的提交并同意了,该应用现在被标记为专为平板电脑设计.

For anyone struggling with this, I submitted the Design for Tablet Contact Form, which you can use to let Google know why you believe your app is designed for tablets (even though it is not labeled as such). Google reviewed my submission and agreed, and the app is now labeled as designed for tablets.

在提交表单之前,您应该确保您的应用符合 平板电脑应用质量检查表首先.

Before submitting the form, you should make sure that your app meets the Tablet App Quality Checklist first.

这篇关于Android 应用并非“专为平板电脑设计";由于drawables的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)