Fixed google admod ads

closes #26

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-04-29 18:42:33 -04:00
parent aadbe9b836
commit 9c99a12335
6 changed files with 20 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:myapp="com.TwentyCode.android.ExaltedDice"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:baselineAligned="false"
@@ -54,15 +54,14 @@
android:layout_above="@+id/ad"
android:layout_gravity="top" />
<com.admob.android.ads.AdView
android:id="@id/ad"
android:layout_width="fill_parent"
<com.google.ads.AdView
android:id="@+id/ad"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="bottom"
myapp:backgroundColor="#000000"
myapp:primaryTextColor="#FFFFFF"
myapp:secondaryTextColor="#CCCCCC" />
ads:adSize="BANNER"
ads:adUnitId="a14bad63772f7d3"
ads:loadAdOnCreate="true" />
</RelativeLayout>
</LinearLayout>