Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(android): expose uiFlags #14166

Merged
merged 4 commits into from
Jan 5, 2025
Merged

feat(android): expose uiFlags #14166

merged 4 commits into from
Jan 5, 2025

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Jan 4, 2025

Expose uiFlags on the window.

Use

var win = Ti.UI.createWindow({});
win.open();
win.uiFlags = 8192;

or

var win = Ti.UI.createWindow({
  uiFlags: 8192
});
win.open();

to set SYSTEM_UI_FLAG_LIGHT_STATUS_BAR (dark statusbar text color)

m1ga and others added 3 commits January 5, 2025 16:32
Co-authored-by: Hans Knöchel <hansemannn@users.noreply.github.com>
@hansemannn hansemannn merged commit 73f7e25 into master Jan 5, 2025
6 checks passed
@hansemannn hansemannn deleted the androidUiflags branch January 5, 2025 16:36
hansemannn added a commit that referenced this pull request Feb 3, 2025
* feat(android): expose uiFlags

* Update apidoc/Titanium/UI/Window.yml

Co-authored-by: Hans Knöchel <hansemannn@users.noreply.github.com>

* use properties

---------

Co-authored-by: Hans Knöchel <hansemannn@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants