diff options
-rw-r--r-- | src/ui/root.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/root.c b/src/ui/root.c index 36ac948e..3e0124d8 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -1542,10 +1542,19 @@ void createUserInterface_Root(iRoot *d) { | |||
1542 | arrangeHeight_WidgetFlag | arrangeHorizontal_WidgetFlag | | 1542 | arrangeHeight_WidgetFlag | arrangeHorizontal_WidgetFlag | |
1543 | commandOnClick_WidgetFlag | | 1543 | commandOnClick_WidgetFlag | |
1544 | drawBackgroundToBottom_WidgetFlag, iTrue); | 1544 | drawBackgroundToBottom_WidgetFlag, iTrue); |
1545 | #if defined (iPlatformAndroidMobile) | ||
1546 | /* Android has a system-provided back button (or gesture?), or in the toolbar we can have | ||
1547 | a different in the place of Back. */ | ||
1548 | setId_Widget(addChildFlags_Widget(toolBar, | ||
1549 | iClob(newLargeIcon_LabelWidget(close_Icon, "tabs.close")), | ||
1550 | frameless_WidgetFlag), | ||
1551 | "toolbar.close"); | ||
1552 | #else | ||
1545 | setId_Widget(addChildFlags_Widget(toolBar, | 1553 | setId_Widget(addChildFlags_Widget(toolBar, |
1546 | iClob(newLargeIcon_LabelWidget(backArrow_Icon, "navigate.back")), | 1554 | iClob(newLargeIcon_LabelWidget(backArrow_Icon, "navigate.back")), |
1547 | frameless_WidgetFlag), | 1555 | frameless_WidgetFlag), |
1548 | "toolbar.back"); | 1556 | "toolbar.back"); |
1557 | #endif | ||
1549 | setId_Widget(addChildFlags_Widget(toolBar, | 1558 | setId_Widget(addChildFlags_Widget(toolBar, |
1550 | iClob(newLargeIcon_LabelWidget(forwardArrow_Icon, "navigate.forward")), | 1559 | iClob(newLargeIcon_LabelWidget(forwardArrow_Icon, "navigate.forward")), |
1551 | frameless_WidgetFlag), | 1560 | frameless_WidgetFlag), |