> > First option (entire list view on the right, with 100dp right margin). >
That is not the first option I proposed... The first option I proposed was 100dp margin on the left. I still can't picture exactly what it is you are wanting. Can you create a basic diagram of what you want this to look like so I can visualize it? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jul 24, 2012 at 7:24 AM, limtc <thyech...@gmail.com> wrote: > First option (entire list view on the right, with 100dp right margin). > > 在 2012年7月24日星期二UTC+8下午8时50分29秒,MagouyaWare写道: > >> Hi Lim, >> >> I have done many list views so I'm sure I can help, but from the way you >> phrased your question I don't fully understand what you are trying to >> accomplish: >> >> 1. Move the entire list view over to the right, with a space of 100dp >> on the left? >> 2. Right-align the text of each list view item? >> 3. Put a space of 100dp to the left of the text in each list view >> item? >> 4. Some combination of the above? >> >> Thanks, >> Justin Anderson >> MagouyaWare Developer >> http://sites.google.com/site/**magouyaware<http://sites.google.com/site/magouyaware> >> >> >> On Tue, Jul 24, 2012 at 6:18 AM, 泰前 林 <thyech...@gmail.com> wrote: >> >>> Align left is not the problem… wanted to align to the right! :) >>> >>> I don't want it to align left (which is the default behavior). >>> >>> Lim Thye Chean >>> Virtual GS >>> >>> >>> >>> 在 24 Jul, 2012,7:19 PM,bharadwaj <bharath.sm...@gmail.com> 写道: >>> >>> >>> >>> On Tue, Jul 24, 2012 at 12:40 PM, limtc <thyech...@gmail.com> wrote: >>> >>>> This is supposedly a simple question - but I have been testing the >>>> whole morning, searching and test all suggestions, but I can't seem to get >>>> it right. Please help! >>>> >>>> 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<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! >>>> >>>> -- >>>> >>> >>> try this add android:layout_**marginleft="10dp" in your list >>> view...this will align it to 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 <android-developers@googlegroups.com> >>>> To unsubscribe from this group, send email to >>>> android-developers+**unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>>> For more options, visit this group at >>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >>> >>> >>> >>> -- >>> 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 <android-developers@googlegroups.com> >>> To unsubscribe from this group, send email to >>> android-developers+**unsubscr...@googlegroups.com<android-developers+unsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >>> >>> >>> -- >>> 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 <android-developers@googlegroups.com> >>> To unsubscribe from this group, send email to >>> android-developers+**unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >>> >> >> -- > 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 > -- 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