1
0
mirror of https://github.com/nextcloud/talk-android synced 2025-03-07 06:39:45 +00:00

remove call activity from tasks

add launch screen for call

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-10-12 12:27:14 +02:00
parent d4d23c1855
commit 7f19816961
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B
2 changed files with 11 additions and 1 deletions
app/src/main

View File

@ -124,9 +124,12 @@
<activity
android:name=".activities.MagicCallActivity"
android:theme="@style/AppTheme.CallLauncher"
android:supportsPictureInPicture="true"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:launchMode="singleTask" />
android:launchMode="singleTask"
android:taskAffinity=".call"
android:excludeFromRecents="true" />
<activity
android:name=".activities.FullScreenImageActivity"

View File

@ -187,6 +187,13 @@
<item name="android:navigationBarColor">@color/colorPrimary</item>
</style>
<!-- Call Launch screen -->
<style name="AppTheme.CallLauncher">
<item name="android:windowBackground">@color/black</item>
<item name="android:statusBarColor">@color/black</item>
<item name="android:navigationBarColor">@color/black</item>
</style>
<style name="Nextcloud.Material.TextButton" parent="Widget.MaterialComponents.Button.TextButton.Icon">
<item name="android:typeface">sans</item>
<item name="android:textStyle">bold</item>