How to customize chrome custom tab orientation in android?

I set the patch orientation for my application as a portrait. I use the chrome custom tab to open another site, however this property cannot be set to the chrome custom tab to stay in the portrait. he changes his orientation. in the manifest I set activity like

<activity
        android:name=".uicontent.carrental.ZoomCarDrawerActivity"
        android:configChanges="keyboardHidden|orientation|screenSize"
        android:launchMode="singleTask"
        android:noHistory="false"
        android:screenOrientation="portrait"
        android:theme="@style/AppTheme"
        android:windowSoftInputMode="adjustPan" />

thank.

+4
source share

Source: https://habr.com/ru/post/1659792/


All Articles