[android-developers] Programmatic UI Issues

2010-02-03 Thread Ben Griffiths
Hi, I need to add some parts of my UI programmatically. I'm doing this because I need to set the ids of some elements up in such a way that they can be easily access in a for loop. So far I have this xml: ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Re: Programmatic UI Issues

2010-02-03 Thread Ben Griffiths
Thank you! An obvious answer, I must have been staring at code for too long for it to make sense anymore. -- 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

[android-developers] Re: Using Adapters

2009-12-16 Thread Ben Griffiths
Okay, so I've got down the LinearLayout in a ScrollView way and I seem to have hacked something together... But, it doesn't quite work. It does something - see the linked pictures Hierarchy: Before http://tinyurl.com/ybl7f8j After http://tinyurl.com/ybohtyv App: Before

[android-developers] Using Adapters

2009-12-15 Thread Ben Griffiths
Hi, I would like to implement a UI that behaves in a similar way to editing/adding contacts on official contact app. Specifically, I would love the user to be able to press a button to add as many EditText parts as they need. This sounds like a jobs for adapters! That is as pretty much as far as

[android-developers] Re: Using Adapters

2009-12-15 Thread Ben Griffiths
Thanks for a very quick reply! On custom Adapters in ListViews, here's an excerpt from one of my books that discusses the topic: http://commonsware.com/Android/excerpt.pdf Thanks, I'll give that a read. Or, this could be a LinearLayout in a ScrollView, and you are modifying the roster of

[android-developers] Services, threads and AIDL

2009-11-25 Thread Ben Griffiths
Hi, I'm trying to understand the concept of the above; sercices, threads and AIDL. I understand a service, it runs in the background but in the UI thread. I understand threads... they're threads. AIDL, another Definition language - okay. What I don't really understand is how to get everything