Open InsertCart opened 4 years ago
hey there you need to remove this in you xml code because that is showing the ad ->>
@InsertCart if you don't need it, better would be to remove the tag as @Batsirai-sudo has suggested.
As for the solution, I think you've already went through this - https://stackoverflow.com/questions/32497840/how-to-hide-ad-banner-when-opened-keyboard-on-android
@mgks Yes I already went through that article,
When I add code in footer :-
If I add padding or margin to layout 50dip
and -50dip to admob code it hide behind it. as you can see in image below
I there any way I can make padding 50dip to layout and admob code just after that so it will not interfere.
Hi,
Thanks for great code, I'm using webview on my website but issue is. I Want admob banner in bottom But it overlap bottom menu. I tried marginBottom and Padding bottom Nothing works.
activity_main.xml
` <androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:tools="http://schemas.android.com/tools" android:id="@+id/pullfresh" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="0dip" android:paddingRight="0dip" android:paddingTop="0dip" android:paddingBottom="0dip" tools:context="MainActivity" android:background="@color/colorPrimary">
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
`
Example like this https://i.stack.imgur.com/TJstI.jpg
I want after the webview show it doesn't interrupt website.
Thank you