[android-developers] Re: Spaces in strings.xml strings

2009-03-05 Thread droozen
Thanks. I'll try it out! On Mar 4, 5:29 pm, Marco Nelissen marc...@android.com wrote: If you want to make sentences, it's still a good idea to put a format string in the resource and then use that, since you'll be able to correctly localize your app later on. To use this with a Cursor and

[android-developers] Re: Spaces in strings.xml strings

2009-03-04 Thread droozen
Okay, I see, but I guess I didn't explain my entire issue. I don't know a whole lot about working with the SQLite databases, so right now I'm able to do what was done in the Notepad tutorial, get values from the database and tie them to ids of TextViews to display them. But part of the list I

[android-developers] Re: Spaces in strings.xml strings

2009-03-04 Thread Marco Nelissen
If you want to make sentences, it's still a good idea to put a format string in the resource and then use that, since you'll be able to correctly localize your app later on. To use this with a Cursor and ListView, create a custom Adapter (you can probably just derive from SimpleCursorAdapter),

[android-developers] Re: Spaces in strings.xml strings

2009-03-04 Thread Dianne Hackborn
And if you just want spaces in specific places in the string, just put it in quotes or use \ to prevent it from being stripped. On Wed, Mar 4, 2009 at 3:29 PM, Marco Nelissen marc...@android.com wrote: If you want to make sentences, it's still a good idea to put a format string in the

[android-developers] Re: Spaces in strings.xml strings

2009-03-03 Thread Marco Nelissen
On Tue, Mar 3, 2009 at 6:26 AM, droozen droozenr...@gmail.com wrote: So, we're supposed to be using our strings.xml to construct most or all of our strings, right? I had a situation where I wanted to display to the user Some string blah blah + some value. So I put two views in a horizontal