title: How to properly style an infowindow?
body: <p>I'm trying to show the users location on the map, which works, but the infowindow has to be styled. I've tried using setInfoWindowAdapter to style the infowindow but it doesn't apply the styles.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>public void handleNewLocation(Location location){
      Log.d(TAG, location.toString());
      mMap.clear();
  
      double currentLatitude = location.getLatitude();
      double currentLongitude = location.getLongitude();
      LatLng latLng = new LatLng(currentLatitude, currentLongitude);
  
      List&lt;android.location.Address&gt; addresses = null;
      geocoder = new Geocoder(this, Locale.getDefault());
  
      try {
          addresses = geocoder.getFromLocation(currentLatitude, currentLongitude, 1); // Here 1 represent max location result to returned, by documents it recommended 1 to 5
      } catch (IOException e) {
          e.printStackTrace();
      }
  
      String address = addresses.get(0).getAddressLine(0); // If any additional address line present than only, check with max available address lines by getMaxAddressLineIndex()
      String city = addresses.get(0).getLocality();
      String country = addresses.get(0).getCountryName();
      String postalCode = addresses.get(0).getPostalCode();
  
      //mMap.addMarker(new MarkerOptions().position(new LatLng(currentLatitude, currentLongitude)).title("Current Location"));
      MarkerOptions options = new MarkerOptions()
              .position(latLng)
              .icon(BitmapDescriptorFactory.fromResource(R.drawable.map_marker))
              .title("Uw locatie:")
              .snippet(address+", "+postalCode+" "+city+", "+country);
      Marker locationMarker = mMap.addMarker(options);
      pointToPosition(latLng);
      locationMarker.showInfoWindow();
  
      mMap.setInfoWindowAdapter(new GoogleMap.InfoWindowAdapter() {
  
          @Override
          public View getInfoWindow(Marker arg0) {
              return null;
          }
  
          @Override
          public View getInfoContents(Marker marker) {
  
              Context context = getApplicationContext(); //or getActivity(), YourActivity.this, etc.
  
              LinearLayout info = new LinearLayout(context);
              info.setOrientation(LinearLayout.VERTICAL);
  
              TextView title = new TextView(context);
              title.setTextColor(Color.BLACK);
              title.setGravity(Gravity.CENTER);
              title.setTypeface(null, Typeface.BOLD);
              title.setText(marker.getTitle());
  
              TextView snippet = new TextView(context);
              snippet.setTextColor(Color.GRAY);
              snippet.setText(marker.getSnippet());
  
              info.addView(title);
              info.addView(snippet);
  
              return info;
          }
      });
  }
  </code></pre>