I dont think ScrollView is possible inside Custom InfoWindow
. You can achieve your goal by following way.
Onclick
of InfoWindow
display dialog with entire description.
Like...
map.setOnInfoWindowClickListener(new OnInfoWindowClickListener() {
@Override
public void onInfoWindowClick(Marker arg0) {
// TODO Auto-generated method stub
startActivity(new Intent(GoogleMAPV2Activity.this,
Customdialog.class));
//here pass your data in intent
}
});
Customdialog
contains TextView
which displays your entire data.
Here are the screenshots :
This is alternative way of your requirement, but you can also use this. Hope it helps. Thanks, Happy Codding.