Well I don't which one is the correct answer..haha

Either way I've finally solved it.

The result:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android" android:id="@+id/relative"
   android:layout_width="wrap_content"
android:layout_height="fill_parent">
    <LinearLayout android:orientation="vertical"
android:weightSum="800" android:layout_height="fill_parent"
android:gravity="center_horizontal" android:layout_width="fill_parent"
android:id="@+id/fixedElements">
        <LinearLayout android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="0dip"
android:background="@drawable/black_glossy_bg_iphone"
android:layout_weight="90" android:gravity="center_vertical|
center_horizontal" android:id="@+id/infoCanso">
        </LinearLayout>
        <RelativeLayout android:layout_width="fill_parent"
android:id="@+id/relativeLayout2" android:layout_weight="482"
android:layout_height="0dip">
            <RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:id="@+id/relativeLayout1">
            </RelativeLayout>
            <RelativeLayout android:id="@+id/RelativeLayout01"
android:layout_width="fill_parent" android:background="#80000000"
android:layout_height="50dip" android:gravity="center"
android:layout_alignParentBottom="true">
                <LinearLayout android:orientation="horizontal"
android:weightSum="480" android:id="@+id/LinearLayout02"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:gravity="center">
                </LinearLayout>
            </RelativeLayout>
            <RelativeLayout android:layout_width="fill_parent"
android:layout_height="50dip" android:id="@+id/volumeBar"
android:background="#80000000" android:gravity="center">
                <LinearLayout android:orientation="horizontal"
android:weightSum="480" android:id="@+id/linearLayout2"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:gravity="center">

                </LinearLayout>
            </RelativeLayout>
        </RelativeLayout>
        <LinearLayout android:layout_width="fill_parent"
android:layout_height="0dip" android:id="@+id/linearLayout1"
android:layout_weight="90" android:background="@drawable/
black_glossy_bg_iphone"></LinearLayout>
        <LinearLayout android:layout_width="fill_parent"
android:layout_height="0dip" android:background="#ffffff" android:id="@
+id/LinearLayout01" android:layout_weight="100"></LinearLayout>
    </LinearLayout>
</RelativeLayout>

On 16 jun, 19:04, TreKing <[email protected]> wrote:
> On Thu, Jun 16, 2011 at 10:42 AM, Sergi <[email protected]> wrote:
> > Yes it shows a RelativeLayout(android:id="@+id/volumeBar") below
> > (android:layout_below="@+id/infoCanso") a LinearLayout(android:id="@
> > +id/infoCanso") which is nested inside another LinearLyout.
>
> No. Either I'm blind or you're seriously confused how layouts work.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to