title: How to center in ScrollView and LinearLayout
body: <p>Please have a look at the following code</p>
  
  <pre><code>&lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".DisplayResult" &gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal"
          &gt;
  
          &lt;ImageView
              android:id="@+id/zodiac1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/aries"
              /&gt;
  
          &lt;TextView
              android:id="@+id/orTxt"
              android:text="Or"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
  
              /&gt;
  
          &lt;ImageView 
              android:id="@+id/zodiac2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/gemini"
              /&gt;
  
      &lt;/LinearLayout&gt;
  
  
  
  
      &lt;/ScrollView&gt;
  </code></pre>
  
  <p>I need to center everything inside the LinearLayout. I must use scrollview because when the app is 100% done, there will be lot of information which cannot be viewed by a single glance, without scrolling. How can make these center? Please help!</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>use any layout inside the scroll, no prob. But I need those elements to be in the same order (one after another) and centered.</p>