Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove the appbar??? #27

Closed
jackphuongvu opened this issue Jan 12, 2018 · 10 comments
Closed

Remove the appbar??? #27

jackphuongvu opened this issue Jan 12, 2018 · 10 comments

Comments

@jackphuongvu
Copy link

jackphuongvu commented Jan 12, 2018

When I launch webview in flutter, I don't need the appbar (back button and the title). How can I remove it?

image
Seem like this is the arguments for function "launch", but I can't use it as well..
Thanks you guys.

@lejard-h
Copy link
Collaborator

how did you launch the webview ? launch function should fullscreen: true by default.

@jackphuongvu
Copy link
Author

That's right
image

@jackphuongvu
Copy link
Author

Can I delete the appbar?

@lejard-h
Copy link
Collaborator

is it working ? are you importing the dependencies via pub or github ?

@lejard-h
Copy link
Collaborator

on iOS, it should be fullscreen, on Android you have to personalize the activity that you are using to host the webview.
<activity android:name="com.flutter_webview_plugin.WebviewActivity" android:parentActivityName=".MainActivity"/>

@jackphuongvu
Copy link
Author

It's working well, but I don't need the appbar. So Is there any way to remove the appbar ?

@jackphuongvu
Copy link
Author

Is there any versions to help me with it?

@jackphuongvu
Copy link
Author

image
I mean this appbar. Can I hidden this one? I really need your help

@lejard-h
Copy link
Collaborator

This app bar is comming from your Android theme, you can hide it by changing the theme of the activity you are using for the webview inside the app manifest.

@jackphuongvu
Copy link
Author

jackphuongvu commented Jan 15, 2018

Thank you so much.. I changed to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants