Android misc widgets panels issue
<p>My case is as following:
a top panel and buttom pannel wraps a scroll viewer that get filled with data after screen activate. 
The top panel works fine, but when I try opening the bottom panel I get a divide by zero exception cause mContentHeight is 0 (inside panel code)
any suggestions?</p>

<pre><code>&lt;LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical" &gt;

                &lt;org.miscwidgets.widget.Panel
                    android:id="@+id/topPanel"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    panel:animationDuration="1000"
                    panel:content="@+id/top_content"
                    panel:handle="@+id/panelHandle"
                    panel:linearFlying="true"
                    android:paddingBottom="4dip"
                    panel:position="top" &gt;

                    &lt;Button
                        android:id="@+id/panelHandle"
                        android:layout_width="fill_parent"
                        android:layout_height="0.1dip" /&gt;

                    &lt;LinearLayout
                        android:id="@+id/top_content"
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal" &gt;

                        &lt;ImageView
                            android:id="@+id/imageView2"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:src="@drawable/logo" /&gt;
                    &lt;/LinearLayout&gt;
                &lt;/org.miscwidgets.widget.Panel&gt;

                &lt;ScrollView
                    android:id="@+id/deal_box_streaps_scroller"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent" &gt;

                    &lt;LinearLayout
                        android:id="@+id/deal_box_streaps_container"
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:orientation="vertical" &gt;
                    &lt;/LinearLayout&gt;
                &lt;/ScrollView&gt;

                &lt;org.miscwidgets.widget.Panel
                    android:id="@+id/buttomPanel"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    panel:animationDuration="1200"
                    panel:content="@+id/buttom_content"
                    panel:handle="@+id/panelHandle2"
                    android:paddingTop="4dip"
                    panel:position="bottom" &gt;

                    &lt;Button
                        android:id="@+id/panelHandle2"
                        android:layout_width="fill_parent"
                        android:layout_height="120dip" /&gt;

                    &lt;LinearLayout
                        android:id="@+id/buttom_content"
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal" &gt;

                        &lt;ImageView
                            android:id="@+id/imageView21"
                            android:layout_width="fill_parent"
                            android:layout_height="wrap_content"
                            android:src="@drawable/logo" /&gt;
                    &lt;/LinearLayout&gt;
                &lt;/org.miscwidgets.widget.Panel&gt;
            &lt;/LinearLayout&gt;
</code></pre>
