The application behaves strangely-different versions of android
<p>The application behaves strangely in different versions of android
This is the correct view:</p>

<pre><code>http://shrani.si/f/1b/Ng/20a9K5H6/cool.png
</code></pre>

<p>This is the incorrect view:</p>

<pre><code>http://shrani.si/f/3A/tJ/FQNPrZA/notcool.png
</code></pre>

<p>Here is the main.xml where I define the main layouts:</p>

<pre><code>[st.koda]

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#646464"
    android:orientation="vertical" &gt;

    &lt;LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="0dip"
        android:layout_gravity="bottom|left"
        android:layout_weight="0.94" &gt;

        &lt;aa.bb.cc.Panel
            android:id="@+id/yourID"
            android:layout_width="fill_parent"
            android:layout_height="412dp" /&gt;
    &lt;/LinearLayout&gt;



&lt;/LinearLayout&gt;

[/st.koda]
</code></pre>

<p>Here is the declaration of onCreate method:</p>

<pre><code>[st.koda]
  public void onCreate(Bundle savedInstanceState) {

                super.onCreate(savedInstanceState);

                setContentView(R.layout.main);
                mPanel = (Panel) findViewById(R.id.yourID);
[/st.koda]
</code></pre>
