Skip to content

Commit a7802c5

Browse files
Merge pull request #2 from SyncfusionExamples/884886-Prepare-a-blog-sample-for-the-.NET-MAUI-Histogram-Chart-to-visualize-distribution-of-atomic-weights-across-the-elements-of-the-periodic-table
884886- Change the Screen Orientation in Android Platform
2 parents 77a6b82 + 35358a5 commit a7802c5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

PeriodicTableElements/PeriodicTableElements/Platforms/Android/MainActivity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace PeriodicTableElements
66
{
7-
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
7+
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true,ScreenOrientation = ScreenOrientation.Landscape, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
88
public class MainActivity : MauiAppCompatActivity
99
{
1010
}

PeriodicTableElements/PeriodicTableElements/Platforms/iOS/Info.plist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
</array>
1616
<key>UISupportedInterfaceOrientations</key>
1717
<array>
18-
<string>UIInterfaceOrientationPortrait</string>
1918
<string>UIInterfaceOrientationLandscapeLeft</string>
2019
<string>UIInterfaceOrientationLandscapeRight</string>
2120
</array>

0 commit comments

Comments
 (0)