Thanks. It doesn't really seem to have worked in my case. It does for
the first visit, but strangely on subsequent visits the behaviour is
the same as before.
As you rightly say though, this has to be simpler...!
On Oct 12, 7:52 pm, Mark wrote:
> Oh the addView() is just from whatever your top
Oh the addView() is just from whatever your top level container is. So
a default Activity created through the wizard just houses a
LinearLayout. So it's like:
LinearLayout main = (LinearLayout) findViewById(R.id.mainlayout);
LinearLayout dummy = ...;
dummy.setFocusable(true);
dummy.setFo
Hi Mark, thanks for offering a solution to this frustrating problem.
I can't implement it though... what's the addView() method from? I
can't seem to resolve it...
Cheers.
On Oct 12, 5:38 pm, Mark wrote:
> For now, I created a dummy LinearLayout and set it to focusable(true),
> so at least whe
For now, I created a dummy LinearLayout and set it to focusable(true),
so at least when the activity starts, the first EditText isn't
selected:
LinearLayout llDummy = new LinearLayout();
llDummy.setFocusable(true);
llDummy.setFocusableInTouchMode(true);
addView(llDummy);
EditText edit
Same problem here, setSelected(false) does nothing, my edit field
still insists on having input focus when my app starts up. There must
be a way to fix this?
On Oct 5, 11:59 am, Tom wrote:
> Hi,
> I'm looking for the same thing.
> Best regards
--~--~-~--~~~---~--~
Hi,
I'm looking for the same thing.
Best regards
--~--~-~--~~~---~--~~
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 unsubscribe from
6 matches
Mail list logo