public class SimpleMarkerBalloon extends BaseMarkerBalloonLayout
| Constructor and Description |
|---|
SimpleMarkerBalloon(java.lang.String text)
One line of text inside balloon.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onBindView(android.view.View view,
Marker value)
Method bind text view with text set in constructor or by
setText(String) method. |
android.view.View |
onCreateView(android.view.ViewGroup container)
Method called to inflate a layout.
|
void |
setText(java.lang.String text)
Change text in balloon.
|
getBalloonOffset, getBalloonViewpublic SimpleMarkerBalloon(java.lang.String text)
text - public android.view.View onCreateView(android.view.ViewGroup container)
BaseMarkerBalloonLayoutonCreateView in interface BalloonViewAdapteronCreateView in class BaseMarkerBalloonLayoutcontainer - - container where marker or balloon item will be inflatedpublic void setText(java.lang.String text)
text - public void onBindView(android.view.View view,
Marker value)
setText(String) method.view - the root view of inflating layoutvalue - value which is used to fill layout