Hi,
can you please provide the complete code and image what  you want to made.

On Monday, November 18, 2013 5:06:23 PM UTC+5:30, Alex Andro wrote:
>
> Hi,
>
> It is my first post here, so if do mistakes like wrong place to post or 
> improper question please forgive me.
> I want to put view1 below view2 that has the property 
> layout_centerVertical="true" in a RelativeLayout. I also have an another 
> view, view3 that has the property  android:layout_alignParentBottom .When 
> I set this property to true it invalidates this rule of view1: 
>
> android:layout_below="@id/view2"
> If I change it to false everything is going normal again. Here is the full 
> code: As you can see view3 has nothing to do with any other view so I don't 
> know where cames the dependency from.
>
>   
> <ImageView
>         android:id="@+id/view2"
>         android:layout_height="wrap_content"
>         android:layout_width="wrap_content"
>         android:adjustViewBounds="true"
>         android:padding="10dp"
>         android:layout_alignParentRight="true"
>         android:layout_centerVertical="true"
>         android:src="@drawable/image1"/>
>
>     <ImageView
>         android:id="@+id/view1"
>         android:layout_width="wrap_content"
>         android:layout_height="wrap_content"
>         android:layout_alignParentRight="true"
>         android:layout_below="@id/view2"
>         android:adjustViewBounds="true"
>         android:src="@drawable/image2" />
>    
> <View
>         android:id="@+id/view3"
>         android:layout_width="10dip"
>         android:layout_height="10dip"
>         android:layout_alignParentBottom="true"
>         android:layout_alignParentRight="true"
>         android:background="#fff" />
>
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to