public class NewKeyboard extends LinearLayout{public NewKeyboard(Context context,EditTextTypeFaceZh editTextzh) { super(context); LayoutInflater inflater= (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); myView= inflater.inflate(R.layout.keyboard_rebuild, this); initKeyboard(myView); }}
在需要添加构造方法的时候把需要的构造方法全部添加,然后就可以Debug了
====Android Studio Debug报错
最新推荐文章于 2023-05-10 18:51:52 发布