Android使用语言环境获取国家表情符号标志 [英] Android Get Country Emoji Flag Using Locale
本文介绍了Android使用语言环境获取国家表情符号标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经看到,自 Lollipop
起,Android在不同国家/地区内置了 Emoji
标志。是否可以使用设备区域设置来检索该国家的 Emoji
标志?
I have seen that since Lollipop
, Android has built in Emoji
flags for different countries. Is it possible to use the devices locale to retrieve the Emoji
flag for that country?
我想插入将 Emoji
标志放入包含用户位置的 TextView
中。
I wanted to insert the Emoji
flag into a TextView
which contains the user's location.
推荐答案
我也在寻找它,但我认为这还不可能。
I was looking for that too but I don't think it's possible yet.
在这里看看:
http://developer.android.com/reference/java/util/ Locale.html
没有提及标志。
_
或者您也可以在此处查看答案:
Alternately you can check the answer here:
Android Countries list with flags and availability of getting iso mobile codes
可能会对您有所帮助。
这篇关于Android使用语言环境获取国家表情符号标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文