All I wanted is to align the ListView to the right (with 100dp blank space), and here's my current layout file:
<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" >
</ListView>
</RelativeLayout>
I have tried different options, but the text in ListView keep align to the left!
-- 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment