I'm creating a Xamarin.Forms app which will work in landscape mode.
I want the WinPhone8 splash screen in Landscape only.
However, the splash image is shown in Portrait at first, and then rotated to landscape when the SupportedOrientations is set.
How do I get the splash screen in landscape?
I think landscape splash screens aren't supported on Windows Phone.
If it's a universal app you could try the method below, but I'm not sure if it only works on Windows Store apps.
Open up your app's manifest file and see if there is something like this in there;
<InitialRotationPreference>
<Rotation Preference="landscape"/>
<Rotation Preference="landscapeFlipped"/>
</InitialRotationPreference>
If not, add it :)
This tells your app to tell the OS that it wants to be in landscape initially.
Related
I'm working on a web app frontend on a MacBook with Retina screen, but the app users primarily use windows laptops with 13/14" screens, and my frontend looks too big for them.
How can I accurately emulate windows laptops' screen size and pixel size/density to adjust my UI responsiveness?
I saw some online services where you can enter the link to preview it on different devices, but the app is on my localhost, which doesn't wok there. Is there any other solution?
in google chrome open your app,
Press F12 to open dev tools
Now click on mobile emulator
then you can change the resolution from here and select responsive dimensions.
I have created an app in Windows 8.1 and running it on Windows 10 tablet, but I want to run the app in landscape mode only.
How can I restrict the user from switching to tablet mode from the action center?
but i want to run app in landscape mode only
You can add InitialRotationPreference in your package manifest:
<InitialRotationPreference>
<Rotation Preference="landscape"/>
</InitialRotationPreference>
This will keep your app displaying in landscape and will not change the orientation when device is held in Portrait or Portraitflipped.
Foe more details, see InitialRotationPreference.
need to restrict user to switch tablet mode from action center.
Check the last FAQ in the documentation:
screen rotation is not necessarily related to tablet mode. Screen rotation is tied to your current device configuration which may or may not map to whether the device is in “tablet mode”.
Updated:
The ConvertibleSlateModePromptPreference is for OEMs. There does not exist a WinRT API to realize this currently.
I have a Windows Phone App for WP 8.1 (Not Windows Phone Silverlight) and I've specified all splash screen sizes in the package manifest. However, for 720p phones (like the Lumia 720) I'm getting letterboxing of the splash screen.
I've also tried adding the Windows Phone Silverlight splash screens from the documented spec, but I get the following error in the build:
MakePRI : warning 0xdef00520: Invalid qualifier: SCREEN-720P
And then I still don't get a full screen splash screen.
Is there any way to prevent this letterboxing?
I believe the only way to solve this is by making the borders of your splash screen of uniform color fill, and set that color as background color in the Package.appxmanifest, so the letterboxing is not seen.
Thing is, Windows Phone 8 and 8.1 devices come in on of four resolutions: 480x800, 720x768, 720x1768 and 1920x1080. From these you can see there are two ratios, 15:9 and 16:9. And the splash screen images you set in the manifest, are all 15:9, just for various screen densities of the 15:9 ratio. So, no way to avoid the letterboxing, as the OS obviously "fits" the splash image into the screen.
I know iphone(web app) doesnt support landscape mode for splash screen in web app.But ı have to force splash screen to landscape mode because when app is opened landscape mode splash screen is shown badly.how can ı do it?
I am currently developing an application using PhoneGap for multiple devices. How do we configure it in config.xml so that we can specify the size of splash screen (and matter of fact for icons) for the different devices (e.g. iPhone, iPad, Android)?
For Android:
design relevant Splash and icon images and drop them in respective drawables (drawable-mdpi, drawable-hdpi etc ..) folders
For iPhone:
Just select Default.png images in your XCode for both iPhone and iPad