Re: [android-developers] How to place controls properly inside of a custom list view.

2012-03-25 Thread Put_tiMe
It kind of worked when I switched to a framelayout. Otherwise it was turning out to be a pain trying to position the controls. I didn't try the layout_weight, it looks like that might have worked. But anyway On Sunday, March 25, 2012 7:21:15 AM UTC+5:30, MagouyaWare wrote: You could

Re: [android-developers] How to place controls properly inside of a custom list view.

2012-03-24 Thread Justin Anderson
You could try giving your textview a layout_weight of 1... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Mar 22, 2012 at 3:31 PM, TreKing treking...@gmail.com wrote: On Thu, Mar 22, 2012 at 2:58 AM, Put_tiMe putt...@gmail.com wrote: how can I

[android-developers] How to place controls properly inside of a custom list view.

2012-03-22 Thread Put_tiMe
I have a custom list view. Each row needs to have a text on the left, and then an image on the extreme right hand side. My problem is that I'm not able to place the image on the extreme RHS. My XML file for the row looks like this: LinearLayout android:layout_width=fill_parent

Re: [android-developers] How to place controls properly inside of a custom list view.

2012-03-22 Thread TreKing
On Thu, Mar 22, 2012 at 2:58 AM, Put_tiMe putt...@gmail.com wrote: how can I fix this issue? How can I place the image to the extreme RHS of the list view row. That should work. What does it look like now? Have you used http://developer.android.com/guide/developing/tools/hierarchy-viewer.html