I have an layout
Either use RelativeLayout and set property of TextView as follows:
layout_width=fill_parent layout_height=wrap_content left_of="@+id/imgView"
and to ImageView
layout_width=wrap_content layout_height=wrap_content alignparentright=true