title: xml linearlayout horizontal, text not showing up
body: <p>I have a this view for an activity in my android app:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
      &lt;LinearLayout 
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical" &gt;
  
          &lt;FrameLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="6dp"
                  android:layout_marginRight="6dp"
                  android:layout_marginTop="4dp"
                  android:layout_marginBottom="4dp"
                  android:orientation="vertical"
                  android:background="@drawable/bg_card"&gt;
  
                  &lt;!-- Card Contents go here --&gt;
                  &lt;TextView
                      android:id="@+id/breweryTitle"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:ems="10"
                      android:textSize="20sp"
                      android:textStyle = "bold"
                      android:padding="5dip"
                      &gt;
                  &lt;/TextView&gt;
  
                  &lt;ImageView android:id="@+id/breweryImage"
                      android:layout_height="wrap_content"
                      android:layout_width="fill_parent"
                      android:layout_margin="10dip"/&gt;
  
  
              &lt;/LinearLayout &gt;
  
          &lt;/FrameLayout&gt;
  
  
  
  
  
      &lt;TableLayout  
  
      android:id="@+id/tableLayout2"  
      android:layout_width="match_parent"  
      android:layout_height="match_parent"  
      android:layout_gravity="center_horizontal"
      android:shrinkColumns="*"  
      android:stretchColumns="*"&gt;
  
          &lt;FrameLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="6dp"
                  android:layout_marginRight="6dp"
                  android:layout_marginTop="4dp"
                  android:layout_marginBottom="4dp"
                  android:orientation="vertical"
                  android:background="@drawable/bg_card"&gt;
  
                  &lt;!-- Card Contents go here --&gt;
  
                  &lt;LinearLayout
                      android:orientation="horizontal"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"&gt;
  
                  &lt;TextView
                      android:id="@+id/breweryEstablished"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:ems="10"
                      android:text="Year Established: "
                      android:textSize="20sp"
                      android:textStyle = "bold"
                      android:padding="5dip"
                      &gt;
                  &lt;/TextView&gt;
  
                  &lt;TextView
                      android:id="@+id/yearTitle"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:ems="10"
                      android:text=""
                      android:textSize="20sp"
                      android:padding="5dip"
                      &gt;
                  &lt;/TextView&gt;
  
                  &lt;/LinearLayout&gt;
  
  
              &lt;/LinearLayout &gt;
  
          &lt;/FrameLayout&gt;
  
  
  
  
  
      &lt;/TableLayout&gt;
  
          &lt;FrameLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="6dp"
                  android:layout_marginRight="6dp"
                  android:layout_marginTop="4dp"
                  android:layout_marginBottom="4dp"
                  android:orientation="vertical"
                  android:background="@drawable/bg_card"&gt;
  
                  &lt;!-- Card Contents go here --&gt;
                  &lt;TextView
                      android:id="@+id/beerDescriptionTitle2"
                      android:textStyle = "bold"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:ems="10"
                      android:textSize="20sp"
                      android:text="Description:"
                      android:padding="5dip"
                      &gt;&lt;/TextView&gt;
  
                  &lt;TextView
                      android:id="@+id/breweryDescription"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:ems="10"
                      android:textSize="15sp"
                      android:padding="5dip"
  
                      &gt;&lt;/TextView&gt;
  
  
  
  
  
              &lt;/LinearLayout &gt;
  
          &lt;/FrameLayout&gt;
  
  
  
          &lt;FrameLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_marginLeft="6dp"
                  android:layout_marginRight="6dp"
                  android:layout_marginTop="4dp"
                  android:layout_marginBottom="4dp"
                  android:orientation="vertical"
                  android:background="@drawable/bg_card"&gt;
  
                  &lt;!-- Card Contents go here --&gt;
                  &lt;LinearLayout
                      android:layout_width="wrap_content"
                      android:layout_height="fill_parent"
                      android:layout_gravity="center"
                      android:orientation="horizontal"
                      &gt;
  
                      &lt;Button
                          android:layout_width="fill_parent"
                          android:layout_height="wrap_content"
                          android:text="All Beers"
                          android:id="@+id/button"
                          android:onClick="getAllBeers"/&gt;
  
                      &lt;Button
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Top Beers"
                          android:id="@+id/button2"
                          android:onClick="getTopBeers"
                          /&gt;
  
                      &lt;Button
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:text="Your Beers"
                          android:id="@+id/button2"
                          android:onClick="getYourTopBeers"
                          /&gt;
  
                  &lt;/LinearLayout&gt;
  
                  &lt;Button
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:text="Directions to Brewery"
                      android:id="@+id/button2"
                      android:onClick="getDirections"
                      /&gt;
  
  
  
  
  
              &lt;/LinearLayout &gt;
  
          &lt;/FrameLayout&gt;
  
  
  
  
  
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>and it produces this effect:</p>
  
  <p><img src="https://i.stack.imgur.com/4TTbI.png" alt="enter image description here"></p>
  
  <p>What I want to occur is the year to show up next to the "Year Established:" which is why I have its liniearLayout horizontal. When I make it vertical the year shows up underneath it, but when I switch to horizontal the year does not show up at all, as shown in the above picture. </p>