Error On Screen Rotation #5011
-
What I did is change the Button to the Material Button in ResumeLessonFragment. The error only happens when I rotate the screen and it cause the app to crash, if I stay in portrait/landscape it won't happen. Here is the error message I check the usage of the button. There is only a single id reference. It is not used in code, but it is used in several layout files. Since I only make a change button to the material button for 1 layout file, could it be the inconsistent type across the different layout files caused this problem? If I change them all will it be fixed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @XichengSpencer. the error message is assentially correct. You have changed the button class in the default layout but not in the landscape or sw-600dp layouts. See below: |
Beta Was this translation helpful? Give feedback.
Hi @XichengSpencer. the error message is assentially correct. You have changed the button class in the default layout but not in the landscape or sw-600dp layouts. See below: