Android Google Play 应用说明格式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11071127/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Google Play app description formatting
提问by ndsmyter
I've made an Android application that is available on Google Play. Now I want to add some more formatting to my app description (eg. indent, links, lists..). But I cannot find any website where possible formatting is listed. Google Help pages cannot help me either on this subject. There exists a lot of different formats and I don't really know which one to use (eg. HTML or wiki formatting..)
我制作了一个可在 Google Play 上使用的 Android 应用程序。现在我想在我的应用程序描述中添加更多格式(例如缩进、链接、列表......)。但我找不到任何列出可能格式的网站。谷歌帮助页面也不能在这个主题上帮助我。存在许多不同的格式,我真的不知道该使用哪一种(例如 HTML 或 wiki 格式...)
I could test it with trial and error, but that would take some time, because Google Play only refreshes after 2-3 hours. And while I'm testing, my app description would be rather ugly if the wrong format was used.
我可以通过反复试验来测试它,但这需要一些时间,因为 Google Play 只会在 2-3 小时后刷新。在我进行测试时,如果使用了错误的格式,我的应用程序描述会相当难看。
tl;dr Is there a list of all possible formatting I could use in the app description for Google Play?
tl;dr 是否有我可以在 Google Play 的应用程序说明中使用的所有可能格式的列表?
回答by Paul Lammertsma
Experimentally, I've discovered that you can provide:
通过实验,我发现您可以提供:
- Single line breaks are ignored; double line breaks open a new paragraph.
- Single line breaks can be enforced by ending a line with two spaces (similar to Markdown).
- A limited set of HTML tags (optionally nested), specifically:
<b>…</b>
for boldface,<i>…</i>
for italics,<u>…</u>
for underline,<br />
to enforce a single line break,- I could notfind any way to get strikethrough working (neither HTML or Markdown style).
- A fully-formatted URL such as
http://google.com
; this appears as a hyperlink.
(Beware that trying to use an HTML<a>
tag for a custom description does notwork and breaks the formatting.) - HTML character entities are supported, such as
→
(→),™
(™) and®
(®); consult this W3 referencefor the exhaustive list. - UTF-8 encoded characters are supported, such as é, , £, ‘, ', ★ and ☆.
- Indentation isn't strictly possible, but using a bullet and em space character looks reasonable (
• 
yields "• "). - Emoji are also supported (though on the website depends on the user's OS & browser).
- 单换行符被忽略;双换行打开一个新的段落。
- 可以通过以两个空格结束一行来强制单换行(类似于 Markdown)。
- 一组有限的 HTML 标签(可选嵌套),特别是:
<b>…</b>
对于粗体,<i>…</i>
对于斜体,<u>…</u>
对于下划线,<br />
强制换行,- 我能不能找到任何方式来获得删除线工作(既不HTML或降价的风格)。
- 完全格式化的 URL,例如
http://google.com
; 这显示为一个超链接。
(要注意的是试图使用HTML<a>
自定义描述标签并不能正常工作和休息的格式。) - 支持 HTML 字符实体,例如
→
(→)、™
(™) 和®
(®);请参阅此 W3 参考以获取详尽列表。 - 支持 UTF-8 编码的字符,例如 é、 、 £、 '、 '、 ★ 和 ☆。
- 缩进并非严格可行,但使用项目符号和 em 空格字符看起来很合理(
• 
产生“•”)。 - 还支持表情符号(尽管在网站上取决于用户的操作系统和浏览器)。
Special notes concerning onlyGoogle Play app:
关于仅Google Play 应用程序的特别说明:
- Some HTML tags only work in the app:
<blockquote>…</blockquote>
to indent a paragraph of text,<small>…</small>
for slightly smaller text,<big>…</big>
for slightly larger text,<sup>…</sup>
and<sub>…</sub>
for super- and subscripts.<font color="#a32345">…</font>
for setting font colors in HEX code.
- Some symbols do not appear correctly, such as ‣.
- All these notes also apply to the app's "What's New" section.
- 一些 HTML 标签仅适用于应用程序:
<blockquote>…</blockquote>
缩进一段文字,<small>…</small>
对于稍小的文本,<big>…</big>
对于稍大的文本,<sup>…</sup>
而<sub>…</sub>
对于超和下标。<font color="#a32345">…</font>
用于在十六进制代码中设置字体颜色。
- 某些符号显示不正确,例如 ‣。
- 所有这些说明也适用于应用程序的“新增功能”部分。
Special notes concerning onlyGoogle Play website:
仅关于Google Play 网站的特别说明:
- All HTML formatting appears as plain text in the website's "What's New" section (i.e. users will see the HTML source).
- 所有 HTML 格式都以纯文本形式出现在网站的“新增功能”部分(即用户将看到 HTML 源代码)。
回答by nicobo
As a matter of fact, HTML character entites also work : http://www.w3.org/TR/html4/sgml/entities.html.
事实上,HTML 字符实体也有效:http: //www.w3.org/TR/html4/sgml/entities.html。
It lets you insert special characters like bullets '•' (•), '™' (™), ... the HTML way.
它允许您插入特殊字符,如项目符号 '•' ( •)、'™' ( ™)、... HTML 方式。
Note that you can also (and probably should) type special characters directly in the form fields if you can enter international characters.
请注意,如果您可以输入国际字符,您还可以(并且可能应该)直接在表单字段中输入特殊字符。
=> one consideration here is whether or not you care about third-party sites that collect data on your app from Google Play : some might simply take it as HTML content, others might insert it in a native application that just understand plain Unicode...
=> 这里的一个考虑因素是您是否关心从 Google Play 收集您的应用程序数据的第三方站点:有些人可能只是将其视为 HTML 内容,其他人可能会将其插入到仅理解纯 Unicode 的本机应用程序中。 .
回答by Ivan Bartsov
Currently (July 2015), HTML escape sequences (• •
) do not work in browserversion of Play Store, they're displayed as text. Though, Play Store app handles them as expected.
目前(2015 年 7 月),HTML 转义序列 ( • •
)在Play 商店的浏览器版本中不起作用,它们显示为文本。不过,Play Store 应用程序会按预期处理它们。
So, if you're after the unicode bullet point in your app/update description [that's what's got you here, most likely], just copy-pastethe bullet character
所以,如果你在你的应用程序/更新描述中使用 unicode 项目符号[这就是你在这里的原因,很可能],只需复制并粘贴项目符号字符
?
?
PSYou can also use unicode input combo to get the character
PS您还可以使用 unicode 输入组合来获取字符
Linux: CtrlShiftu2022
Enteror Space
Linux:CtrlShiftu2022
Enter或Space
Mac: Hold ?2022
release ?
Mac:按住?2022
释放?
Windows: Hold Alt2022
release Alt
Windows:保持Alt2022
释放Alt
Mac and Windows require some setup, read on Wikipedia
Mac 和 Windows 需要一些设置,请参阅维基百科
PPSIf you're feeling creative, here's a good link with more copypastable symbols, but don't go too crazy, nobody likes clutter in what they read.
回答by Shabbir Dhangot
This is not bullet but you can consider it. As there is nothing like big dot.
这不是子弹,但你可以考虑一下。因为没有像大点那样的东西。
I used below symbol in the description and its working fine.
我在描述中使用了下面的符号,它工作正常。
? Black Circle
? 黑圈
New Moon
新月
Full Moon
满月
Diamond With a Dot
带圆点的钻石
Small Orange Diamond
小橙钻
? Gear
? 齿轮
Black Flag
黑旗
White Flag
白旗
? Play Button
? 播放按钮
? Fast-Forward Button
? 快进按钮
? Heavy Large Circle
? 沉重的大圆圈
? Eight-Pointed Star
? 八角星
? Black Medium Square
? 黑色中号方形
? White Medium-Small Square
? 白色中小方块
? Black Medium-Small Square
? 黑色中小方块
? Black Large Square
? 黑色大方格
You just need to copy and paste it over description. Below is the result.
您只需要将其复制并粘贴到描述上即可。下面是结果。
回答by Rockvole
Currently (June 2016) typing in the link as http://www.example.comwill only produce plain text.
目前(2016 年 6 月)在链接中输入http://www.example.com只会生成纯文本。
You can now however put in an html anchor :
但是,您现在可以放入 html 锚点:
<a href="http://www.example.com">My Example Site</a>
回答by Martin B
Include emojis; copy and paste them to the description:
包括表情符号;将它们复制并粘贴到描述中:
回答by croppio.com
Another alternative to cut, copy and paste emojis is:
剪切、复制和粘贴表情符号的另一种替代方法是:
回答by Toa56584
<br>
seems to be the best and only way that currently works on the app version to create a new line break. I have tried it successfully in a review, as well as unsuccessfully tried all other Unicode/HTML newline-related characters that the Wikipedia page for newlines would tell me.
I used <br>
with |
immediately on either side, using no closing tag, and it magically created a single line break without revealing the source or screwing anything up.
<br>
似乎是目前在应用程序版本上创建新换行符的最佳且唯一的方法。我在评论中成功地尝试过它,也尝试过维基百科换行符页面会告诉我的所有其他 Unicode/HTML 换行符相关字符,但没有成功。我立即在两边使用<br>
with |
,不使用结束标记,它神奇地创建了一个换行符,而不会泄露源代码或搞砸任何事情。
TLDR:<br>
lets you successfully utilize single line breaks in Google Play app -- unlike everything else I tried (a lot).
TLDR:<br>
让您在 Google Play 应用程序中成功利用单换行符——与我尝试过的所有其他方法(很多)不同。
P.S.I have no clue how to make the thing show source instead of being used as source. !^(Now I do, and I know it works on both the desktop and mobile sites. !!
聚苯乙烯我不知道如何使事物显示源而不是用作源。!^(现在我知道了,我知道它适用于桌面和移动网站。!!
Additionally, upon searching for how to make it show the source, I stumbled upon this.<del></del>
此外,在寻找如何让它显示来源时,我偶然发现 这个。<del></del>