Keyboard-attach when having footer and sub-footer

Hi,

In my application, I’ve in the same view footer and sub-footer, in the footer I’ve input text, I find that keyboard-attach fixing the problem of disappearing the footer, but when I want to show the two elements (footer and sub-footer) when the keyboard open, they disappears.

How can I fix that?

Thanks,
Ramzy