Fixed google admod ads
closes #26 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="src" path="gen"/>
|
<classpathentry kind="src" path="gen"/>
|
||||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||||
<classpathentry kind="lib" path="libs/admob-sdk-android.jar"/>
|
|
||||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||||
<classpathentry kind="lib" path="/app/android-sdk-linux_86/extras/google/admob_ads_sdk/GoogleAdMobAdsSdk-6.0.0.jar"/>
|
|
||||||
<classpathentry kind="output" path="bin/classes"/>
|
<classpathentry kind="output" path="bin/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
|
|
||||||
<uses-sdk android:minSdkVersion="7" />
|
<uses-sdk android:minSdkVersion="7" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:icon="@drawable/icon"
|
android:icon="@drawable/icon"
|
||||||
@@ -24,11 +25,6 @@
|
|||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<meta-data
|
|
||||||
android:name="ADMOB_PUBLISHER_ID"
|
|
||||||
android:value="a14bad63772f7d3" />
|
|
||||||
|
|
||||||
<activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity" >
|
<activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity" >
|
||||||
</activity>
|
</activity>
|
||||||
<activity android:name="ExaltedDice" >
|
<activity android:name="ExaltedDice" >
|
||||||
@@ -38,6 +34,10 @@
|
|||||||
|
|
||||||
<service android:name="com.TwentyCodes.android.exception.ReportPostingService" >
|
<service android:name="com.TwentyCodes.android.exception.ReportPostingService" >
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<activity
|
||||||
|
android:name="com.google.ads.AdActivity"
|
||||||
|
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest> <!-- android:screenOrientation="portrait" -->
|
</manifest> <!-- android:screenOrientation="portrait" -->
|
||||||
|
|||||||
BIN
ExaltedDice/libs/GoogleAdMobAdsSdk-6.0.0.jar
Normal file
BIN
ExaltedDice/libs/GoogleAdMobAdsSdk-6.0.0.jar
Normal file
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<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_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:baselineAligned="false"
|
android:baselineAligned="false"
|
||||||
@@ -54,15 +54,14 @@
|
|||||||
android:layout_above="@+id/ad"
|
android:layout_above="@+id/ad"
|
||||||
android:layout_gravity="top" />
|
android:layout_gravity="top" />
|
||||||
|
|
||||||
<com.admob.android.ads.AdView
|
<com.google.ads.AdView
|
||||||
android:id="@id/ad"
|
android:id="@+id/ad"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_gravity="bottom"
|
ads:adSize="BANNER"
|
||||||
myapp:backgroundColor="#000000"
|
ads:adUnitId="a14bad63772f7d3"
|
||||||
myapp:primaryTextColor="#FFFFFF"
|
ads:loadAdOnCreate="true" />
|
||||||
myapp:secondaryTextColor="#CCCCCC" />
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout 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_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
@@ -56,14 +56,13 @@
|
|||||||
android:layout_below="@id/holder"
|
android:layout_below="@id/holder"
|
||||||
android:layout_gravity="top" />
|
android:layout_gravity="top" />
|
||||||
|
|
||||||
<com.admob.android.ads.AdView
|
<com.google.ads.AdView
|
||||||
android:id="@id/ad"
|
android:id="@+id/ad"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_gravity="bottom"
|
ads:adSize="BANNER"
|
||||||
myapp:backgroundColor="#000000"
|
ads:adUnitId="a14bad63772f7d3"
|
||||||
myapp:primaryTextColor="#FFFFFF"
|
ads:loadAdOnCreate="true" />
|
||||||
myapp:secondaryTextColor="#CCCCCC" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
Reference in New Issue
Block a user