Discussion Forums  >  Uncategorized

Replies: 2    Views: 239

slater
Android Fan
Profile
Posts: 87
Reg: Aug 09, 2011
St. Pete FL
870
08/13/11 02:03 AM (14 years ago)

Fix for Lyles tutorial on adding admobs to the base of your apps, No more covering last item.

Here is a fix for the bottom code for Lyles tutorial on adding admob to the base of your apps, This will just fix the lists, Wich is probably your major concern. Anything else you will have to fiddle with, If I end up doing those too ill post the specs here... Lyles Tutorial http://sfnent.blogspot.com/2011/07/easy-guide-on-how-to-make-money-with.html My fix so the ads dont cover the last list item. Go to Act_global_list.xml set change android:layout_height=wrap_content/> to change android:layout_height=352dp/> then go to act_home.xml and change android:scrollbars=none android:layout_height=wrap_content/> To android:scrollbars=none android:layout_height=200dp/> Remember to add quotes where the forum takes them out.
 
aussiedra
Code is Art
Profile
Posts: 431
Reg: Dec 25, 2010
Brisbane, Austr...
8,260
like
08/13/11 02:36 AM (14 years ago)
wow nice guide thanks for the share.
 
slater
Android Fan
Profile
Posts: 87
Reg: Aug 09, 2011
St. Pete FL
870
like
08/13/11 07:49 AM (14 years ago)
IGNORE EVERYTHING UP TOP!! DO NOT USE THAT METHOD. This does not work on some devises , I have found a proper way of doing this.. sry about the post above Go to Act_global_list.xml set Instead leave your code like this android:scrollbars=none android:layout_height=wrap_content and add this line to it android:layout_marginBottom=50dp/> now it should look like one long line like this android:scrollbars=none android:layout_height=wrap_content android:layout_marginBottom=50dp/> then go to act_home.xml and change THIS <LinearLayout android:id=@+id/layoutMain android:layout_width=fill_parent android:layout_height=wrap_content android:layout_marginTop=205dip android:gravity=center xmlns:android=http://schemas.android.com/apk/res/android> TO THIS <LinearLayout android:id=@+id/layoutMain android:layout_width=fill_parent android:layout_height=wrap_content android:layout_marginTop=205dip android:gravity=center xmlns:android=http://schemas.android.com/apk/res/android android:layout_marginBottom=50dp> REMEMBER TO ADD THE QUOTE MARKS!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.