Skip to content Skip to sidebar Skip to footer

Dimens.xml For Multi Window Mod

My app supports multi window feature. I want the app to take dimensions from different dimens.xml files when the app is in normal mode and multi window mode. I have declared the m

Solution 1:

You are specifically opting out of configuration changes for screen sizes. As a result, nothing will happen automatically to force you to take on new resource values when the app enters or exits split-screen mode.

I recommend removing android:configChanges. Android will then recreate your activities and fragments when a configuration change occurs, and you will pick up the revised resources at that point.


Post a Comment for "Dimens.xml For Multi Window Mod"