Commit 97f8ad09 authored by Max Lv's avatar Max Lv

Refine AdSize

parent 34fe03c9
...@@ -102,7 +102,7 @@ final class ProfilesFragment extends ToolbarFragment with OnMenuItemClickListene ...@@ -102,7 +102,7 @@ final class ProfilesFragment extends ToolbarFragment with OnMenuItemClickListene
adView = new NativeExpressAdView(getActivity) adView = new NativeExpressAdView(getActivity)
adView.setLayoutParams(params) adView.setLayoutParams(params)
adView.setAdUnitId("ca-app-pub-9097031975646651/5224027521") adView.setAdUnitId("ca-app-pub-9097031975646651/5224027521")
adView.setAdSize(new AdSize(320, 132)) adView.setAdSize(new AdSize(328, 132))
itemView.findViewById(R.id.content).asInstanceOf[LinearLayout].addView(adView) itemView.findViewById(R.id.content).asInstanceOf[LinearLayout].addView(adView)
// Demographics // Demographics
......
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