安卓菜鸟的进阶之路-PercentFrameLayout(百分比布局/FrameLayout功能扩展)PercentRelativeLayout(百分比布局/RelativeLayout功能扩展)
1.该布局为新出现,不支持较早版本,需要在app/build.gradle文件中添加如下内容(黑体部分)dependencies{compilefileTree(dir:'libs',include:['*.jar'])androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',{excludegroup:'