I created a custom tab that has two different drawings for portrait and landscape orientations. Icons for portrait screen are under drawable-hdpi, while landscape images are under drawable-land-hdpi. At the moment, I have placed the configuration of the changes in the manifest in order to maintain the visibility of the dialog.
android:configChanges="orientation"
Whenever a dialog box is displayed and the user changes orientation from portrait to landscape, the dialog still shows, but the images that he uses in the activity of the tabs are for portrait mode. That is why the layout for does not look right, since he did not use drawings for the landscape. Can someone help me with this? Thanks.
source share