hi
when trying to align my ImageView to right side of my LinearLayout
nothing hapend
it work fine witn TextView
what am i doing worng
thanks
sagy
here is my layout xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bk1" >
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:background="@drawable/bk4">
<ImageView android:id="@+id/user_image"
android:layout_height="70px"
android:layout_width="wrap_content"
android:paddingLeft="3px"
android:paddingRight="3px"
android:scaleType="fitCenter"
>
</ImageView>
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="70px">
<TextView android:id="@+id/user_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:textColor="@color/white"
android:layout_gravity ="center"
android:textSize="22sp"/>
<TextView android:id="@+id/user_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textSize="16sp"/>
</LinearLayout>
<ImageView android:id="@+id/user_avialibility"
android:layout_height="fill_parent"
android:layout_width="wrap_content"
android:gravity = "right"
/>
</LinearLayout>
<ListView android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---