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 Activate Dark Mode in Contact App, Open Google Contact app and then click on left-top corner have menu button. click on menu button.
Now, You can see that Settings option in below image. click on Settings option.
So, now active page is settings. in this page, have Theme option. Click on Theme option.
In Theme, You can choose 3 option Light, Dark, set by battery. For activate dark theme choose Dark option.
Comments
Post a Comment