title: Can´t center textview´s text vertically
body: <p>[Solved]  I had to add <code>android:fillViewport="true"</code> to the ScrollView, that fixed the problem with the text not centering vertically.</p>
  
  <p>I know this has been answered many times before, but I´m still not able to center a textview´s text vertically.</p>
  
  <pre><code>&lt;ScrollView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/scrollView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;RelativeLayout
          android:id="@+id/relativelayout"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;ImageView
              android:id="@+id/icon"
              android:layout_width="@dimen/icon_width"
              android:layout_height="@dimen/icon_height"
              android:src="@drawable/picture" /&gt;
  
          &lt;TextView
              android:id="@+id/title"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_toRightOf="@+id/icon"
              android:gravity="center_vertical"
              android:layout_alignBottom="@+id/icon"
              android:layout_alignTop="@+id/icon"
              android:text="@string/title_text"
              android:textSize="@dimen/textsize"
              android:textStyle="bold"
              android:textColor="@color/color"
              android:shadowColor="@color/shadow"
              android:shadowRadius="5"/&gt;
  
          &lt;/RelativeLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>Normally this should work with</p>
  
  <pre><code>android:gravity="center_vertical"
  </code></pre>
  
  <p>but it has no effect on the textview...</p>
  
  <p>Weird thing is that I have a second app with the exact same code and it´s working there without any problems.</p>
  
  <p>/edit</p>
  
  <p>To clarify my question:
  This is what I have right now:<br><img src="https://i.stack.imgur.com/8MfqP.png" alt="http://i.imgur.com/WwHCegq.png"> <br><br>
  This is what I want:<br><img src="https://i.imgur.com/9T8CyT6.png" alt="http://i.imgur.com/9T8CyT6.png"> <br></p>