This commit is contained in:
Sergey Solovyev committed 2012-01-05 19:43:28 +04:00
1 parent 0d6656f52c
commit 2df2574329
3 files changed
+3 -5

No files matched your search

@@ -121,8 +121,6 @@ public final class AndroidUtils {
// Create the adView
final AdView adView = new AdView(activity, AdSize.BANNER, admobAccountId);
// Lookup your LinearLayout assuming it’s been given
// the attribute android:id="@+id/mainLayout"
final ViewGroup layout = (ViewGroup) activity.findViewById(layoutId);
// Add the adView to it