Skip to content

Commit

Permalink
Merge pull request #3182 from pingwang2011/timob-11396
Browse files Browse the repository at this point in the history
timob-11396: Android: Soft keyboard does not show when clicking on TextField
  • Loading branch information
hieupham007 committed Oct 11, 2012
2 parents 47c264d + c251185 commit 842c215
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1243,12 +1243,10 @@ protected void registerForKeyPress(final View v)
return;
}

boolean focusable = false;
Object prop = proxy.getProperty(TiC.PROPERTY_FOCUSABLE);
if (prop != null) {
focusable = TiConvert.toBoolean(prop);
Object focusable = proxy.getProperty(TiC.PROPERTY_FOCUSABLE);
if (focusable != null) {
registerForKeyPress(v, TiConvert.toBoolean(focusable));
}
registerForKeyPress(v, focusable);
}

protected void registerForKeyPress(final View v, boolean focusable)
Expand Down

0 comments on commit 842c215

Please sign in to comment.