In the manifest, when connecting VKSDK, it is necessary to register the activation, where, in particular, the style
In source, it looks like this:
<style name="VK.Transparent" parent="@style/Theme.AppCompat.Light.Dialog.Alert"> <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowNoTitle">true</item> <item name="android:windowIsFloating">true</item> </style>
Accordingly, you can try to define your style with the same attributes, but inherit it from the dialog style and assign this VKontakte activation in the manifest.
In styles:
<style name="MY.VK.Transparent" parent="android:Theme"> <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowNoTitle">true</item> <item name="android:windowIsFloating">true</item> </style>
In the manifest:
<activity android:name="com.vk.sdk.VKServiceActivity" android:label="ServiceActivity" android:theme="@style/MY.VK.Transparent" />
this? - Yuriy SPb ♦