question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] ActionBar in Modal page

See original GitHub issue

I trying to add actionBar in Modal page , but i added actionBarHidden = false still no show out. Isn’t no have actionBar in Modal page ?

<Page xmlns="http://schemas.nativescript.org/tns.xsd" shownModally="onNavigatingTo"  actionBarHidden="false">  
<ActionBar class="action-bar">
            <NavigationButton text="Go Back" android.systemIcon="ic_menu_back" tap="onNavBtnTap"/>
            <ActionBar.titleView>
				<Label class="h3" id="title" color="#ffffff" />
			</ActionBar.titleView>
            <ActionBar.actionItems>               
                <ActionItem ios.position="right" tap="onAddNew">
                    <ActionItem.actionView>
                        <StackLayout>
                            <Label text="Save" paddingRight="15" color="white" fontSize="15" />
                        </StackLayout>
                    </ActionItem.actionView>
                </ActionItem>
            </ActionBar.actionItems> 
		</ActionBar>
</Page>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:21 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
venkateshsjcommented, Mar 22, 2018

Would love to see this feature in an upcoming release!

1reaction
manojdcodercommented, Jun 7, 2018

@tsonevn Isn’t this should be possible now with {N} 4.x?

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular - Programmatically add Label to existing ActionBar
This is how you add Label to existing ActionBar dynamically. Setting the variable isLabelVisible to true/false will then make your Label ...
Read more >
[Feature Request] Overlays for modals and popups
I'm aware that you can create the base mockup as a symbol, but because Balsamiq doesn't allow for nesting symbols, this is not...
Read more >
ActionBar - NativeScript Docs
The ActionBar is NativeScript's abstraction over the Android ActionBar and iOS NavigationBar . It represents a toolbar at the top of the activity...
Read more >
Working with the AppBar - Android Developers
The top app bar provides a consistent place along the top of your app window for displaying information and actions from the current...
Read more >
Android Action Bar In A Dialog Using ToolBar - Truiton
The Android Toolbar widget can also be used to replace the original ActionBar in your Activity. This feature will open many new possibilities...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found