I have a use case where I want to open a web page in TWA and come back to my app. But, I want to show the page in a TWA and occupy just the bottom part of the screen, while my remaining app is shown in the rest of the screen. Is there a way I can achieve this?
Asked
Active
Viewed 209 times
2
-
Can you add any details like: code used, error problem encountered? [How do I ask a good question?](http://stackoverflow.com/help/how-to-ask), [How to create a Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve) Show the community what you have tried. – Mr.Rebot Aug 01 '19 at 01:26
1 Answers
2
No. Please refer to 5th point in this Google's TWA docs.
Transitions between web and native content are between activities. Each activity (i.e. screen) of your app is either completely provided by the web, or by an Android activity

Anand
- 9,672
- 4
- 55
- 75
-
I understand that the TWA will be in a separate activity, but, want that activity to not take the whole screen. I want it to be transluscent, like the `AccountPicker` activity – kbsbng Aug 01 '19 at 12:47
-
The TWA Activity itself can't be transparent. It's possible to open a transparent Activity on top of it. As curiosity, what's the use-case? – andreban Aug 02 '19 at 17:30
-
In a login flow, we want to login through the TWA and get a token back on to the native app to login the user. This is in order to take advantage of a previous chrome login of the user. – kbsbng Aug 04 '19 at 13:08