Nullpointerexception when findingViewById
问题 I have nullpointerexception in last line of my oncreate method public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.blindassistantmain); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); BlindTableLayout tableLayout = (BlindTableLayout) findViewById(R.id.blindTableLayout); BlindButton btn = (BlindButton) findViewById(R.id