I have used the method specified on the Resource and I18N page (http://
developer.android.com/guide/topics/resources/resources-i18n.html) to
specify separate strings.xml resource files for when the orientation
is landscape vs. portrait. When the activity starts, it will display
the strings
Mark Murphy wrote:
No, that should work, at least if you let Android do the normal
destroy-and-recreate cycle for the activity in question. If you are
overriding that, you will need to go through each widget and tell it to
load the new string values, AFAIK.
The only things I am overriding are
Mark Murphy wrote:
Are you sure you have the right names for your resource directories?
Assuming res/values/ is your portrait one, are you using
res/values-land/ for the landscape strings?
I've done it two ways. The first way I have three directories:
res/values
res/values-land
Mark Murphy wrote:
That's pretty odd. I am not aware of any particular problems here. In
fact, I just hacked in res/values-land/strings.xml in one of my book
samples, and it works as expected.
I think I figured it out. The actual strings are being used as the
text property of RadioButtons in a
wrote:
Mike Olson wrote:
Mark Murphy wrote:
That's pretty odd. I am not aware of any particular problems here. In
fact, I just hacked in res/values-land/strings.xml in one of my book
samples, and it works as expected.
I think I figured it out. The actual strings are being used as the
text
I got a Droid on Saturday, but called Verizon and was told that the
ESN was already attached to another account. What the heck? I've e-
mailed Google. Has anyone else had this problem?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
I know this is a bit of an old thread, but I implemented the
workaround above to get my 1.5 emulator to launch and now my code
crashes when I try to run it in the 1.5 emulator. The error is an
InvocationTargetException with a cause of VerifyError. I'm currently
searching for answers on the web but
it, but I'm posting this to help anyone
who may find this thread on Google.
On Jan 27, 8:17 am, Mike Olson mish.ol...@gmail.com wrote:
I know this is a bit of an old thread, but I implemented the
workaround above to get my 1.5 emulator to launch and now my code
crashes when I try to run it in the 1.5
8 matches
Mail list logo