Skip to content

Instantly share code, notes, and snippets.

@danielgek
Created September 2, 2017 17:32
Show Gist options
  • Save danielgek/8b426fe2948c8292e2099da5662e04d9 to your computer and use it in GitHub Desktop.
Save danielgek/8b426fe2948c8292e2099da5662e04d9 to your computer and use it in GitHub Desktop.
import * as application from ‘application’;
import { Color } from ‘color’;
let window = application.android.foregroundActivity.getWindow();
window.setStatusBarColor(new Color('red').android);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment