Skip to main content

Posts

Showing posts with the label dark mode calculator

Featured post

Admob App Open Ads Integration in Android | How to integrate App Open Ads in Android Project?

  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

Calculator Dark Theme | How to apply dark theme on calculator in android?

For Make Calculator Dark follow below steps. Step 1, open google calculator and then click on right-top corner 3 dots button. Step 2, After click on 3 dots menu, you can see that menu list. click on Choose Theme. Step 3,   Now you will see 3 option Light, Dark, Set By Battery Saver. for apply dark theme click on Dark. You can also choose set by battery saver. when your battery is low. system change dark mode. Now Your Calculator app is in dark theme.