Unable to resolve symbol ‘window’ error… here is a solution to the problem.
Unable to resolve symbol ‘window’ error
When I set "this.requestWindowFeature(Window.FEATURE_NO_TITLE);"
When added to my activity, the IDE turns ‘Window‘ red and warns me on a tooltip that “Unable to parse symbol ‘window'”
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_splash_screen);
Any help would be appreciated.
Solution
Add import android.view.Window;
to solve this problem.