title: IconFactory with `setContentRotation` change aling of the content
body: <p>I'm working with maps and I'm trying to do something similar as Uber does, show information near the marker (in two markers at the same time so I can't use <code>infowindow</code> )</p>
  
  <p><a href="https://i.stack.imgur.com/fidxV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fidxV.png" alt="enter image description here"></a></p>
  
  <p>As I have read I'm using IconFactory to achieve this:</p>
  
  <pre><code>    val iconFactory = IconGenerator(this)
      //iconFactory.setBackground(resources.getDrawable(R.drawable.background_iconfactory))
      iconFactory.setRotation(90)
      iconFactory.setContentRotation(-90)
      iconFactory.setContentView(view)
  
  
      val mMarkerA = mMap?.addMarker(MarkerOptions().position(LatLng(location.latitude, location.longitude)).anchor(iconFactory.anchorU, iconFactory.anchorV))
      mMarkerA?.setIcon(BitmapDescriptorFactory.fromBitmap(iconFactory.makeIcon("hello world")))
  </code></pre>
  
  <p>But I came up with the next problem: If I use a regular text the <code>iconFactory</code> is placed like I want. 
  <a href="https://i.stack.imgur.com/GF1iy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GF1iy.png" alt="enter image description here"></a></p>
  
  <p>But if I inflate a custom view (this is what i need), the view appeared to be displaced to the right. <a href="https://i.stack.imgur.com/IdjUO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IdjUO.png" alt="enter image description here"></a></p>
  
  <p>Does anybody knows what I'm doing wrong?! Can anybody help me? </p>
  
  <p>Thanks in advance. </p>
  
  <p><strong>Edit</strong>
  I don't think the xml could be a problem, if I don't rotate the content it's ok. 
  <a href="https://i.stack.imgur.com/5OFbW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5OFbW.png" alt="enter image description here"></a></p>
  
  <p>Anyway I post the xml:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
  &lt;ImageView
      android:id="@+id/backgroundMarker"
      android:layout_width="30dp"
      android:layout_height="30dp"
  
      android:layout_marginStart="8dp"
      android:layout_marginTop="8dp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:srcCompat="@drawable/background_marker" /&gt;
  
  &lt;ImageView
      android:id="@+id/image_person"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      app:layout_constraintBottom_toBottomOf="@+id/backgroundMarker"
      app:layout_constraintEnd_toEndOf="@+id/backgroundMarker"
      app:layout_constraintStart_toStartOf="@+id/backgroundMarker"
      app:layout_constraintTop_toTopOf="@+id/backgroundMarker"
      app:srcCompat="@drawable/ic_person_white_24dp" /&gt;
  
  &lt;ImageView
      android:id="@+id/imageView9"
      android:layout_width="1dp"
      android:layout_height="10dp"
      app:layout_constraintEnd_toEndOf="@+id/backgroundMarker"
      app:layout_constraintStart_toStartOf="@+id/backgroundMarker"
      app:layout_constraintTop_toBottomOf="@+id/backgroundMarker"
      app:srcCompat="@android:color/black" /&gt;
  
  &lt;TextView
      android:id="@+id/text"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginBottom="8dp"
      android:layout_marginStart="4dp"
  
      android:background="@android:color/white"
      android:padding="8dp"
      android:text="Calle Pepe dos aguas"
      app:layout_constraintBottom_toBottomOf="@+id/imageView9"
      app:layout_constraintStart_toEndOf="@+id/backgroundMarker"
      app:layout_constraintTop_toTopOf="@+id/backgroundMarker" /&gt;
  
  
  
    &lt;ImageView
          android:id="@+id/imageView3"
          android:layout_width="wrap_content"
          android:layout_height="0dp"
          android:layout_marginEnd="8dp"
          android:background="@android:color/black"
          android:padding="4dp"
          android:tint="@android:color/white"
          app:layout_constraintBottom_toBottomOf="@+id/text"
          app:layout_constraintEnd_toEndOf="parent"
          app:layout_constraintHorizontal_bias="0.0"
          app:layout_constraintStart_toEndOf="@+id/text"
          app:layout_constraintTop_toTopOf="@+id/text"
          app:layout_constraintVertical_bias="0.0"
          app:srcCompat="@android:drawable/ic_secure" /&gt;
  &lt;/android.support.constraint.ConstraintLayout&gt;
  </code></pre>