-
Notifications
You must be signed in to change notification settings - Fork 14
Removing the top bar
Guillaume Gendre edited this page Apr 29, 2019
·
7 revisions
If you want to remove the top bar from your view, you dont have to write native code anymore.
Change the bars with the Cobalt nativeBars feature straight from the cobalt.json file.
Sample configuration bellow.
{
"controllers": {
"default": {
"ios": "ViewController",
"android": ".activities.MainActivity",
"pullToRefresh": true,
"bars":{
"visible" : {
"top": false
}
}
}
}
}
Cobalt is an Open-Source Hybrid Mobile Framework. Read more about it on the home page or in the documentation
- Introduction to Cobalt navigation
- The cobalt.json file
- native navigation bars
- Handling the Android back button
- Introduction to Cobalt messages
- Publish/Subscribe on the Web side
- Publish/Subscribe on Android
- Publish/Subscribe on iOS
- Web Lifecycle messages
- Pull-To-Refresh and Infinite Scroll
- Custom alerts and Toasts
- LocalStorage
- OpenExternalUrl
- PlatformInfos
- Ajax
- Removing the top bar
- Adding Cobalt to an existing project
- Customizing your hybrid views
- Handle multiple Cobalt webviews on the same screen (TODO)