Thursday, August 16, 2012

[android-developers] How can handle onkeydown on nested PreferenceScreens



how can iam handle the onkeyevent on nested preferencescreen.

in the preferenceactivity its working correct with onkeydown method.

but if iam add a sub preferencescreen like the follow (inner1), iam don't can handle key events.

how can iam get the keyevent (onkeydown) from the inner preferencescreen???



 <PreferenceScreen android:id="outer">
  <ListPreference ...></ListPreference>
    <PreferenceScreen android:id="inner1">
      <CheckboxPreference ...></CheckboxPreference>
    </PreferenceScreen>  
  </PreferenceScreen>

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate