Tagged Questions
0
votes
1answer
21 views
add (AdMob) size could be fill_parent insted wrap_content?
my add makes some view scale problems . i solved it by making android:layout_width fill_parent insted wrap_content .
<com.google.ads.AdView
android:id="@+id/ad"
...
1
vote
0answers
116 views
Admob view gets destroyed when scrolling in expandable listview
I am currently using a custom ExpandableListView that displays either items of my app or some AdMob views, and these AdMob views keep getting destroyed and recreated when I scroll in my activity.
...
0
votes
1answer
177 views
Android- Problems with adding AdMob to View
I am making an Android game. I have my Main class, which extends activity, and my Game class that extends View.
I am settings the content view of the Activity to the an Instance of the Game class. ...
0
votes
1answer
192 views
Admob view set to GONE keeps receiving clicks
Please note : Currently not using any XML for Layout! And I don't want to change that.
I have an Admob banner inflating in my game at a certain point. I used this tutorial. It's working fine.
Now, ...
0
votes
2answers
383 views
Adding admob to a canvas in a extends View class
I am trying to implement admob in my app, but i can't get it working.
I have a Class A, wich is the main class, it extends activity.
I have a Class B, wich is the class that is called when the ...
2
votes
2answers
2k views
How to hide/disable admob adview?
I hide admob adview by view.gone:
//adView.setClickable(false);
//adView.clearFocus();
//adView.setEnabled(false);
//adView.setFilterTouchesWhenObscured(true);
//adView.setFocusable(false);
...
0
votes
1answer
204 views
How do I add the admob view when my main view is like this?
I'm looking at this example, but here the code wants to use some layout file, but I dont have that in my code..
http://code.google.com/intl/da/mobile/ads/docs/android/fundamentals.html
My activity ...
0
votes
1answer
267 views
Display text/banner if AdView cant loaded
I try to display a banner / text if the AdView fails to load (because of AdBlock or anything else).
I tried different methods:
Two RelativeLayouts above (both were hidden from AdBlock ...)
Set a ...
0
votes
2answers
723 views
Cannot resize AdMob's view upon orientation change
What I tried so far is, in viewDidLoad, I called
self.bannerView.autoresizingMask=UIViewAutoresizingFlexibleWidth;
and
- ...
1
vote
2answers
1k views
How to add a view to the top of a linear layout in code?
I need to add an admob adview to a linear layout in code but I need to insert it at the top of the layout, not the bottom.
Is there a way to do this?
0
votes
3answers
737 views
Using completely custom views with admob in android
I am having real problems understanding Layouts. I am trying to put admob into my app, but up until this point i have had no reason to use a layout. I'll show you what I have in my activity class.
...
0
votes
2answers
352 views
Admob Ad dissapears when keyboard opens :s
I have an activity which has an edite text and a button,
following the concept format below
[EDITE TEXT] [BUTTON]
[ADVERT]
My problem is, when my keyboard opens in landscape view ( soft ...
1
vote
0answers
147 views
AdMob adView not reacting to key press
I want to change way that focus from adMob goes to other controls in my code.
For now it behaves that when I press right arrow key, focus goes to another control.
I want it to do the same with down ...
0
votes
0answers
263 views
Add AdMob to my tab bar project
So, I have a tab bar application (with 4 views) and I have tried EVERYTHING ( I think) to show my ad...
AdMob says that they have correctly received notification that my app sends a demand for the ...
0
votes
3answers
994 views
Admob advertisement (Android) is to small
I placed a admob advertisement in my Android App (Block Crusher) and on QVGA the advertisment is smaller then the screen. On bigger resolutions there is no problem.
I used the following xml to add ...