android - 如何在 API 25 中使用 PercentRelativeLayout

标签 android android-percentrelativelayout

我想使用 PercentRelativeLayout 但我有 compileSdkVersion 25。 我应该将哪个依赖项添加到 build.grade(Module: app)?

最佳答案

这是 PercentRelativeLayout 的依赖项

编译 'com.android.support:percent:25.0.0'

关于android - 如何在 API 25 中使用 PercentRelativeLayout,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42136010/

相关文章:

android - 如何在 PercentRelativeLayout 中使百分比动态化?

android - 应用程序加载时分配大内存

android - 可以在同一台机器上安全地运行多个 Android 模拟器并使用套接字进行通信吗?

android - 当我们在android中没有结束的情况下再次使用intent再次调用activity时,创建了多少个实例?

java - 文本转语音保存到音频文件,静音(长时间停顿)

java - dlopen ("xxxx")失败: dlopen failed: library "xxxx" not found

android - 如何在相对布局中以父 View 为中心对齐下方的 View

android - ScrollView 内的 PercentRelativeLayout 23.2.1 不正确的零高度