<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:background="@drawable/background" android:layout_width="fill_parent" android:layout_height="wrap_content"> <ListView android:id="@id/android:list" android:dividerHeight="0dp" android:layout_marginTop="100dp" android:layout_marginRight="100dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" > <TextView android:id="@+id/myTxtList" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignRight="@id/android:list" </ListView> </RelativeLayout>
try this and hope this will help ya :D -- 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