1.
View view = LayoutInflater.from(Activity.this).inflate(xxx,null);
View view = LayoutInflater.from(context).inflate(xxx,null);
两种得到的布局设置给dialog的时候会出现控件颜色不一致的问题。
2 2018-07-18
Ambiguous method call. Both findViewById (int) in AppCompatActivity and findViewById (int) in Activity match
问题:当前activity的 compileSdkVersion 与 集成的对象的 compileSdkVersion不一致造成的。