I have designed the UI for my application with all the elements that needed in this application, include button. But when I want to call the Button class in MainActivity, it can't call the class and import it, Alt Enter & Ctrl Space didn't help. When I press Ctrl Space doesn't show the Button class but shows ButtonBarLayout instead. Any idea where is the error?
CodePudding user response:
Open file select invalid caches and restart...
CodePudding user response:
Thank you all for help. I have already solved the problem. It is the class package of Button that have been excluded from the auto-import. So it doesn't show the auto-import like this Button Class auto-import but shows up only the ButtonBarLayout
I'm sorry for my question that has not been clear enough.