1. Check out our companion app, Forums for Android! Download from Google Play

Controlling Focus

Discussion in 'Application Development' started by gezh, Oct 3, 2009.

  1. gezh

    gezh Well-Known Member
    Thread Starter
    16

    Jul 12, 2009
    87
    2
    16
    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...