Thats becoz you have put the ImageView  and Textviews in
RelativeLayout.
Put them in linearLayout or use android:alignparentbottom="true" for
ImageView.

On Aug 13, 1:00 pm, Goutom <goutom.sust....@gmail.com> wrote:
> Hi All
>
> In my xml layout TextView overlaps ImageView.I need to prevent it.
>
> -----------------------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
>     android:layout_width="fill_parent" android:layout_height="fill_parent"
>     android:fitsSystemWindows="true" android:layout_weight="1"
>     android:orientation="vertical" >
>
>     <RelativeLayout android:layout_width="wrap_content"
>         android:layout_height="wrap_content" android:background="#b4b4b4"
>         android:fitsSystemWindows="true">
>
>         <LinearLayout android:orientation="vertical"
>             android:layout_alignParentLeft="true"
>             android:layout_width="wrap_content"
> android:layout_height="wrap_content"
>             android:paddingLeft="5dip">
>
>             <TextView android:id="@+id/pio_navi_org_name"
>                 android:textSize="20sp" android:textStyle="bold"
> android:textColor="#000000"
>                 android:text="" android:layout_width="wrap_content"
>                 android:layout_height="wrap_content" />
>
>             <TextView android:id="@+id/pio_navi_org_add"
>                 android:textColor="#000000" android:textSize="17sp"
>                 android:textStyle="bold" android:text=""
> android:layout_width="wrap_content"
>                 android:layout_height="wrap_content" />
>
>             <TextView android:id="@+id/pio_navi_org_website"
>                 android:textColor="#000000" android:textSize="17sp"
>                 android:textStyle="bold" android:text=""
> android:layout_width="wrap_content"
>                 android:layout_height="wrap_content" />
>         </LinearLayout>
>
>         <ImageView android:layout_alignParentRight="true"
>             android:paddingTop="6dip" android:src="@drawable/orgpeople"
>             android:scaleType="fitXY" android:layout_height="40dip"
>             android:layout_width="45dip"/>
>
>     </RelativeLayout>
>
>     <ListView android:id="@+id/list_pio"
>         android:layout_width="fill_parent"
> android:layout_height="wrap_content"
>         android:layout_weight="1" android:paddingBottom="0dip"
>         android:dividerHeight="1dip" />
>
> </LinearLayout>
>
> ---------------------------------------------------
>
> Any solution?
>
> Regards
> RiskyCoder

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

Reply via email to