Commit 61944cdb authored by wanglei's avatar wanglei

...

parent ad753288
...@@ -17,10 +17,10 @@ class NativeView @JvmOverloads constructor( ...@@ -17,10 +17,10 @@ class NativeView @JvmOverloads constructor(
) : FrameLayout(context, attrs) { ) : FrameLayout(context, attrs) {
init { init {
layoutParams = LayoutParams( // layoutParams = LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT, // ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT // ViewGroup.LayoutParams.WRAP_CONTENT
) // )
} }
fun setNativeAd(nativeAd: NativeAd?) { fun setNativeAd(nativeAd: NativeAd?) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment