title: Android - trouble getting layout to use 75% of screen
body: <p>Right now I have the main screen of my app which has the top 50% of the screen using buttons/content, and the bottom 50% just displaying the logo. However I can't seem to change it so that the logo only takes up the bottom 25% of the screen.</p>
  
  <p>I am using a layout_weight of 3 for the top section, and 1 for the bottom, however this results in the bottom logo now taking up 95% of the screen area and all the content in the main area no longer visible. Using weightSum for the outside container has not worked and neither has playing around with changing layout_width/height to be fill_parent or wrap_content combinations.</p>
  
  <p>I've read other help threads using layout_weight and read the documentation and it all seems very straightforward, and have used them in the content area without issue, I'm not sure why this is giving me trouble here, can anyone help me out?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:gravity="center_vertical"
  android:textColor="#000000"
  android:background="#faff67"
  &gt;
   &lt;LinearLayout
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:background="@drawable/backing"
      android:paddingTop="5dp"
      android:paddingRight="3dp"
      android:paddingLeft="3dp"
      android:paddingBottom="3dp"
      android:layout_margin="3dp"
  android:layout_weight="3"
      &gt;
  
      &lt;!-- Main content area stuff --&gt;
  
  
   &lt;/LinearLayout&gt;
  &lt;LinearLayout
  android:id="@+id/main"
  android:layout_width="wrap_content" 
  android:layout_height="wrap_content"
  android:paddingTop="0dp"
  android:layout_weight="1"
     &gt;
  &lt;ImageView  android:scaleType="fitCenter"
              android:contentDescription="Logo"
              android:src="@drawable/logo"
              android:id="@+id/front_logo"
              android:padding="1sp"
              android:layout_height="fill_parent"
              android:layout_width="fill_parent"&gt;&lt;/ImageView&gt;
  &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>