Hi Eric, Do you know what events "keyboard" affects? No. I believe all configs fire one event, onConfigurationChanged.
Keyboard = The keyboard type has changed - for example, the user has connected an external keyboard. Have more: "screenSize", "smallestScreenSize", "layoutDirection", etc. See in: https://developer.android.com/guide/topics/manifest/activity-element.html#config Best regards, Ranier Vilela ________________________________________ De: Eric Wing <ewmail...@gmail.com> Enviado: quinta-feira, 15 de dezembro de 2016 20:04 Para: IUP discussion list. Assunto: Re: [Iup-users] Android IUP implementation question/problem for IupDialog On 12/15/16, Ranier VF <ranier_...@hotmail.com> wrote: > Hi Eric, > "I do not have layout working. (I did make screen rotation not do the > stupid thing though...another stupid Android decision was to cause > device orientation to completely quit and restart your app by default, > which I don't think is *ever* useful for a real app.)" > > To prevent quit and restart you can use the configChanges tag in the > manifest: > android:configChanges="keyboardHidden|keyboard|orientation|screenSize" > > "This will tell Android to send the app an onConfigurationChanged event for > these classes of configuration changes. > If you are interested in learning more about configuration changes, visit: > http://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange." > > Best regards, > > Ranier Vilela > ________________________________________ Hi Ranier, Yes, that's what I did. Though I've never used the plain "keyboard" flag before. I don't think I've ever triggered that case. These are the ones I've been using: android:configChanges="orientation|keyboardHidden|screenSize" Do you know what events "keyboard" affects? Thanks, Eric ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users