Hi, Gooogle Admob recently launched App Open Ads Ad Type with beta version. This ad will show when user open your app. it is like splash screen ad. but this is official ad. so chances of policy violation is less. For this ad, you can use interstitial ad unit id. Follow the below steps for integration app open ads into your android project. Step 1, integrate admob library and android lifecycle library in app/build.gradle file. implementation 'com.google.android.gms:play-services-ads:19.4.0' def lifecycle_version = "2.0.0" implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version" annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version" Step 2, after integrate admob library and andorid lifecycle library. create MyApplication.java class in default package where your mainacitvity. Here is the source code
For Making Google Chrome Dark. Follow Below Steps:
First Step: Open Your google chrome app and click on right side top corner 3 dots
Second Step, When you click on three dots, you see menu. In menu, click on Settings
Third Step, After click on settings, new activity open. and have Themes option. Click on it.
Fourth Step, When you click on themes options. Another activity open and show three option Set by Battery, Light and Dark. Click on Dark
Now dark mode activated.
Comments
Post a Comment