摘要:
findViewByid一定要放在setContentView(R.layout.a..)之后否则还没布局,根本找不到这些控件setContentView(R.layout.activity_input);editText0 = (EditText) findViewById(R.id.sample 阅读全文
摘要:
https://bbs.csdn.net/topics/391985867?page=1 华为P9是android 6.0 的==在API23+以上也就是安卓6.0以上的,进行了权限管理不止要在AndroidManifest.xml里面添加权限<uses-permission android:nam 阅读全文
摘要:
module 的 gradle.build最后三行的compile 是关键dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appco 阅读全文