SoftInputMode="adjustResize" doesn't work with MyNavigationDrawerTheme #226
Comments
could you share your drawer layout please? |
Sure, I uploaded the sources on GitHub: https://github.com/numixproject/org.numixproject.hermes I'm having this issue with basically all activities especially with ConversationActivity and AddServerActivity. Thanks again! |
Well, I didn't understood very well the problem... |
Exactly. We're trying to make an IRC client and it's impossible to chat if you don't see the text you're typing. With default theme I've the same behaviour of Hangout or WhatsApp. It just doesn't work with your custom theme. Thanks again for the help, |
Update: it happens both in landscape and portrait mode. |
Well, sincerily I don't know how "adjustResize" works, I will investigate on that |
I think it's an Android bug: https://code.google.com/p/android/issues/detail?id=5497&q=fullscreen&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars AdjustResize doesn't work when activity is full screen. Is MaterialNavigationDrawer using Full Screen activities? |
no, materialnavigationdrawer use normal actionbar activity without action bar |
Same problem here. Did you find a work arround PaoloRotolo? |
@neokree i know this library is similar to my library. But i think it is always good to help each other. The issue you have here is because as soon as you have the FullScreen flag (which is required to get the Drawer below the StatusBar) the adjustResize feature won't work anymore. (Starting with API Level 19) I have created a small util to get it working in my MaterialDrawer library. You can find an answer about this here: http://stackoverflow.com/a/30019136/325479 |
Great, I knew it was something related to Fullscreen activities. :) |
Same problem here. What exactly solves it? I have a LinearLayout inside of a Scrollview. |
@mindrunner do you have the |
@mikepenz Don't really know. Must have a look at the code first. I am not actively maintaining it at the moment. Can you quickly point me to KeyboartUtil? How to activate it? |
@mindrunner oops sorry ignore my comment. I was notified and thought it was an issue on my drawer lib. sorry |
Hi!
I noticed that Android can't resize the activity when SoftKeyboard is opened if I'm using your DrawerTheme. All works fine with Lollipop's default theme (applied in styles.xml).
Activity with default theme:
Activity with MyNavigationDrawerTheme:
EditText is below the Soft Keyboard, so the activity wasn't resized.
Best regards,
Paolo
The text was updated successfully, but these errors were encountered: