[英]Information about android:foregroundInsidePadding
In framelayout, I want use the android:foregroundInsidePadding attribute but there is no documentation about this attribute ( http://developer.android.com/reference/android/widget/FrameLayout.html ) 在framelayout中,我想使用android:foregroundInsidePadding属性,但没有关于此属性的文档( http://developer.android.com/reference/android/widget/FrameLayout.html )
When i write android:foregroundInsidePadding="true", i have an error "error: No resource identifier found for attribute 'foregroundInsidePadding' in package 'android'" 当我写android:foregroundInsidePadding =“true”时,我有一个错误“错误:找不到包''android'中属性'foregroundInsidePadding'的资源标识符”
Anyone have info on this? 有人有这方面的信息吗?
Thanks 谢谢
foregroundInsidePadding
defines whether the foreground drawable should be drawn inside the padding. foregroundInsidePadding
定义是否应在填充内绘制前景drawable。 This property is false by default except if your background is a NinePatch Drawable. 默认情况下,此属性为false,除非您的背景是NinePatch Drawable。 Just add: 只需添加:
custom:foregroundInsidePadding="true"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.