I'm trying to place a `RelativeLayout` below a `LinearLayout` that is
nested inside another `LinearLayout` and it's not working.
Is there any way I can do that?
I need to keep the ability of settings weights and the ability of
placing a Layout (with some transparent background) above another
Layout.
<?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:layout_width="wrap_content"
android:layout_height="fill_parent"
android:gravity="center_horizontal" android:orientation="vertical"
android:weightSum="800">
<LinearLayout android:layout_alignParentRight="true"
android:layout_width="fill_parent" android:id="@+id/infoCanso"
android:orientation="vertical" android:background="@drawable/
black_glossy_bg_iphone" android:gravity="center_vertical|
center_horizontal" android:layout_height="0dip"
android:layout_weight="90">
</LinearLayout>
<LinearLayout android:id="@+id/albumBG"
android:layout_width="wrap_content" android:layout_below="@+id/
infoCanso" android:layout_height="0dip" android:layout_weight="482">
</LinearLayout>
<LinearLayout android:id="@+id/linearLayout1"
android:background="#80ffffff" android:layout_width="fill_parent"
android:layout_height="0dip" android:layout_weight="90">
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="0dip" android:id="@+id/LinearLayout01"
android:layout_weight="100" android:background="#ffffff">
</LinearLayout>
</LinearLayout>
<RelativeLayout android:layout_width="fill_parent"
android:layout_height="50dip" android:id="@+id/volumeBar"
android:background="#80000000" android:gravity="center"
android:layout_below="@+id/infoCanso">
</RelativeLayout>
</RelativeLayout>
--
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