android-percent-support-extend icon indicating copy to clipboard operation
android-percent-support-extend copied to clipboard

a extends lib for android-percent-support(Google百分比布局库的扩展)

Results 40 android-percent-support-extend issues
Sort by recently updated
recently updated
newest added

报如下的错误: Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.zhy:percent-support-extends:1.1.1.

在使用了这个库的项目中引入了其他Module而引发了类似错误。 求助。。。。。。还是没有解决!!!

java.lang.NoClassDefFoundError: com/zhy/android/percent/support/R$styleable at com.zhy.android.percent.support.PercentLayoutHelper.getPercentLayoutInfo(PercentLayoutHelper.java:290) at com.zhy.android.percent.support.PercentRelativeLayout$LayoutParams.(PercentRelativeLayout.java:106) at com.zhy.android.percent.support.PercentRelativeLayout.generateLayoutParams(PercentRelativeLayout.java:82) at com.zhy.android.percent.support.PercentRelativeLayout.generateLayoutParams(PercentRelativeLayout.java:65) at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:865) at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:72) at android.view.LayoutInflater.rInflate(LayoutInflater.java:837) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:866) at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:72) at android.view.LayoutInflater.rInflate(LayoutInflater.java:837) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) at android.view.LayoutInflater.inflate(LayoutInflater.java:515) at android.view.LayoutInflater.inflate(LayoutInflater.java:394)...

Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:22:9-36 > is also present at [com.zhy:percent-support-extends:1.1.1] AndroidManifest.xml:12:9-35 value=(true). > Suggestion: add 'tools:replace="android:allowBackup"' to element at...

你好,问个问题。layout跟标签用PercentLinearLayout ,添加了 xmlns:app="http://schemas.android.com/apk/res-auto" ,在 PercentLinearLayout 子标签中使用app:percentXXX 属性时androidStudio无法提示自定义的属性。同步gradle后也无法提示。

做机型适配的时候碰到这样一个错误,设备是vivo X6D。使用方式如下: 错误如下: 08-06 19:40:34.723 E/chatSDK:c.a(Line:114)(22891): Caused by: java.util.IllegalFormatConversionException: %f can't format com.zhy.android.percent.support.PercentLayoutHelper$PercentLayoutInfo$PercentVal arguments 08-06 19:40:34.723 E/chatSDK:c.a(Line:114)(22891): at java.util.Formatter.badArgumentType(Formatter.java:1489) 08-06 19:40:34.723 E/chatSDK:c.a(Line:114)(22891): at java.util.Formatter.transformFromFloat(Formatter.java:2038) 08-06 19:40:34.723 E/chatSDK:c.a(Line:114)(22891): at java.util.Formatter.transform(Formatter.java:1465) 08-06...

自定义控件中都用的是dp和sp,直接加Percent肯定是不行的,我要如何改动使用此库呢?

在list的item布局里使用app:layout_heightPercent="10%h"的话,控件就不会有高度了,显示不出来。必须要用app:layout_heightPercent="10%sh"才行。 其他地方可以,可是使用sh sw在布局文件预览里看不到效果