Android studio rendering error
1 answer
In the control panel above the displayed image, there is an option to select the API for rendering the image. It should be hidden under the extension arrows in your case. Just select the lower API so it displays correctly.
API 21 is known to interact with rendering, as now and previous versions will render layouts correctly.
Also note that IDE rendering is NEVER 100% accurate and should not be based on the production cycle, as specific system compilations may implement some mechanisms differently.
+1
source to share