开发者

String Overlay in Android

开发者 https://www.devze.com 2023-02-01 20:47 出处:网络
is there anyway of creating a String overlay? Because I\'m wo开发者_开发百科rking on a project which I show the spots in the map, but I wanna also show some String identifing the spot, like an id, for

is there anyway of creating a String overlay? Because I'm wo开发者_开发百科rking on a project which I show the spots in the map, but I wanna also show some String identifing the spot, like an id, for example att, Andre Mariano


Use StringBuilder() instead of String. Example..

StringBuilder sb = new StringBuilder();
sb.append("some string");
sb.append("more string");
Toast.makeText(this, sb, Toast.LENGTH_LONG).show();
0

精彩评论

暂无评论...
验证码 换一张
取 消