title: Android: Layout alignment
body: <p>I have 3 'groups' of items in my layout:</p>
  
  <ol>
  <li><code>Button</code> + <code>TextView</code> (should be on the right side)</li>
  <li><code>ImageView</code> + <code>ImageView</code> + <code>TextView</code> (should be in center)</li>
  <li><code>TextView</code> + <code>Button</code> (should be on the left side)</li>
  </ol>
  
  <p>It's like a footer for tablet.
  But all my items are next to each other starting from left side.
  I tried grouping them to separate layouts but it doesn't help.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    &lt;LinearLayout
          android:id="@+id/footer"
          android:layout_width="match_parent"
          android:layout_height="40dp"
          android:orientation="horizontal"
          android:layout_gravity="bottom"
          android:background="@android:color/black"&gt;
  
              &lt;Button
                  android:background="@drawable/arrow_left"
                  android:layout_width="50dp"
                  android:layout_height="match_parent"
                  android:id="@+id/footer_left_arrow"
                  android:layout_margin="10dp"/&gt;
  
              &lt;TextView
                  android:text="text"
                  android:textColor="#FFFFFF"
                  android:textSize="20sp"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:id="@+id/footer_left_text"/&gt;
  
              &lt;ImageView
                  android:background="@drawable/logo"
                  android:layout_marginTop="5dp"
                  android:layout_marginBottom="5dp"
                  android:layout_width="50dp"
                  android:layout_height="20dp"
                  android:layout_gravity="center"/&gt;
  
              &lt;ImageView
                      android:background="@drawable/footer_vertical_line"
                  android:layout_margin="5dp"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent" /&gt;
  
              &lt;TextView
                  android:text="text"
                  android:textColor="#FFFFFF"
                  android:textSize="12sp"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:gravity="center" /&gt;
  
              &lt;TextView
                  android:text="text"
                  android:textColor="#FFFFFF"
                  android:textSize="20sp"
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent" /&gt;
  
              &lt;Button
                  android:background="@drawable/arrow_right"
                  android:layout_width="50dp"
                  android:layout_height="match_parent"
                  android:layout_margin="10dp" /&gt;
  
      &lt;/LinearLayout&gt;
  </code></pre>