istv wrote:
 > So, are there any solutions around that I did not see yet? I had a
 > look at Mark Murphy's blog, and also some of the tutorials on
 > anddev.org..

My gosh! A fan!

;-)

>  I had problems today concerning ListView/ListAdapter... I'd like to
> get an activity that is very similar to the "New contact" one in v0.9.
> Basically a ListView, that is expandable by custom rows containing
> EditText, RateBars, etc..

I'm a bit confused. When I open the Contacts activity, and choose New 
Contact from the options menu, I get an activity that probably isn't a 
ListView. That's probably just a LinearLayout popped in a ScrollView to 
handle the extra length.

Are you referring to something else?

> 2. Changing orientation of the device in emulator (Ctrl+F12) causes
> the EditTexts to lose all changes made. Do I really need to save their
> states manually?

What happens on a rotation is that your activity is shut down and 
restarted with the new resource set.

During the shutdown process, onSaveInstanceState() will be called, and 
you'll get that Bundle back on the ensuing onCreate().

> 3. How to get a row that sticks to the bottom (the two buttons in "New
> contact")? It is apparently achieved by an additional row containing
> nothing.

Since I'm not seeing the same activity as the one you're describing, I 
can't say for certain, but it might be a footer view. Try 
ListView#addFooterView().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.1 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to