在阿拉伯语中显示空白Android的谷歌地图标记称号阿拉伯语、标记、称号、空白

2023-09-06 03:34:01 作者:。何必说在乎

我使用谷歌地图API V2为Android,而我已经使用标记类标记添加到地图中的片段是这样的:

I am using Google Maps API v2 for Android, And I have used Marker class to add a marker to the map fragment like this:

map.addMarker(new MarkerOptions().position(new LatLng(23.599114, 39.203938))
            .title("عربي"));

但在地图上显示一个空头衔。

but on the map it shows an empty title.

什么想法?

推荐答案

我觉得它`山的bug,没有一个真正的解决方案到现在为止,但你可以添加一个单code左到右标记称号,是这样的:

I think it`s a bug, there is no a real solution until now, but you can add an unicode left-to-right mark to the title, something like this:

.title("\u200e" +"عربي")
 
精彩推荐
图片推荐