Skip to content

Commit f672318

Browse files
committed
- PiP support for Android
1 parent ac6c0e5 commit f672318

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Spixi/Platforms/Android/MainActivity.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@
1010
using SPIXI.Lang;
1111
namespace Spixi;
1212

13-
[Activity(Label = "Spixi", Icon = "@mipmap/ic_launcher", RoundIcon = "@mipmap/ic_round_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density, LaunchMode = LaunchMode.SingleInstance)]
13+
[Activity(Label = "Spixi",
14+
Icon = "@mipmap/ic_launcher",
15+
RoundIcon = "@mipmap/ic_round_launcher",
16+
Theme = "@style/MainTheme",
17+
MainLauncher = true,
18+
SupportsPictureInPicture = true,
19+
ResizeableActivity = true,
20+
LaunchMode = LaunchMode.SingleInstance,
21+
ConfigurationChanges = ConfigChanges.ScreenSize |
22+
ConfigChanges.Orientation |
23+
ConfigChanges.UiMode |
24+
ConfigChanges.ScreenLayout |
25+
ConfigChanges.SmallestScreenSize |
26+
ConfigChanges.Density)]
1427
public class MainActivity : MauiAppCompatActivity
1528
{
1629
public const int PickImageId = 1000;

0 commit comments

Comments
 (0)