Results 1 issues of JimssM

CheckBox checkBox; LayoutInflater inflater; View floatView; inflater = getLayoutInflater(); floatView = inflater.inflate(R.layout.float_window, null); Log.d(TAG, "initView: "+floatView.findViewById(R.id.checkBox)); checkBox = floatView.findViewById(R.id.checkBox); if (checkBox != null) { // 如果 checkBox 不为空,表示成功找到了对应 ID 的...