Controlling Focus


Last Updated:

  1. gezh

    gezh Well-Known Member This Topic's Starter

    Joined:
    Jul 12, 2009
    Messages:
    87
    Likes Received:
    2
    Hi all.

    My activity consists of a number of widgets, one of which is an EditText. When the app starts, the EditText seems to have focus, so that the keypad pops up and obscures the screen. How can I ensure that this element doesn't have the focus?

    I've tried calling requestFocus() on one of the other elements, but this hasn't made a difference.

    Many thanks.
     

    Advertisement

Share This Page

Loading...