Android Window Tools for Cordova
Plugin for Cordova 8.0+ to perform some basic window operations like setting certain flags or changing the statusbar color. Also getting various sizes and insets.
Released under MIT license; see LICENSE for details.
How does it work?
A loose collection of various tools that perform simple tasks on the Android side.
Installation
Cordova
cordova plugin add cordova-plugin-android-window-tools
Code example
Here are some examples on how you can use this plugin
AndroidWindowTools; AndroidWindowTools; AndroidWindowTools; // See https://developer.android.com/reference/android/view/Window#setNavigationBarColor(int)AndroidWindowTools; // See https://developer.android.com/reference/android/view/Window#setStatusBarColor(int)AndroidWindowTools; // See https://developer.android.com/reference/android/view/View.html#setSystemUiVisibility(int)AndroidWindowTools; // See https://developer.android.com/reference/android/view/WindowManager.LayoutParamsAndroidWindowTools;AndroidWindowTools;