Android Google Map marker title in Arabic showing blank

后端 未结 2 1978
[愿得一人]
[愿得一人] 2021-01-03 03:37

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 Marker         


        
相关标签:
2条回答
  • 2021-01-03 03:58

    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" +"عربي")
    
    0 讨论(0)
  • 2021-01-03 04:20

    If someone reads this post 2017:

    Another reason a view is empty might be a restriction to

    singleLine = true

    at some point, e.g. your getInfoContents() implementation

    0 讨论(0)
提交回复
热议问题