Screen size changed for iOS - c#

I have just finished developing a cross platform xamarin app. When I tried to submit my app to apple store there were errors. I think when I was fixing them, I changed something and the screens changed for iOS. Fonts, pictures, keyboard etc.. sizes have grown. It is like the resolution decreased. However there is nothing changed about android side, everything is same. Here are two screen shot before - after. If you know what is the problem, can you let me know it?

As James said at comments, the problem was about splash screen. I changed it to default and everything fixed.

Related

Xamarin Community Toolkit MediaElement Flashes black on load Android problem only. (Full Question Rework)

I wanted to revisit this question from before I first asked it. I'm developing a completely new version of my application and I cannot find any media player available cross-platform from the shared code in Xamarin.Forms so I'm stuck with using MediaElement as its the only one that provides the functionality of using embedded resources for video files. Unlike the other players out there all use API and URI to play videos from the internet which is not what I need.
After numerous testing on 2 different platforms, this app is for Android and iOS, I now can tell confidently that the flickering is only happening on Android devices and not iOS -> iPhones or iPads.
I wonder if there is any solution to pre-load the source file to the MediaPlayer which is what is under the hood for Android using MediaElement.
There are a few solutions that I've come up with but am not happy with.
1: Have an identical first frame image of the video and overlay it over the screen for 200 - 400 milliseconds and make it disappear. The problem with that is it is not easily scalable which I require as my app requires a large number of videos and getting the first frame of approx 120+ videos and having them all as assets are just not necessary.
2: Take a screenshot of the previous screen and display it over the video screen and make it disappear after 200 - 400 milliseconds and then make it disappear. The problem with this actual user experience becomes weird because you constantly see the previous screen and you see it just disappear even tho you've just come to a new page and you can definitely tell that you've moved pages.
In conclusion, I don't really know if this is a problem possible to solve by a user of the package or if requires someone who is in depth of understanding the package to fix this. This could also be a problem in Android side which doesn't load videos efficiently and this is causing problems in loading videos for Android platform apps
Many Thanks in Advance.

Why some elements of xamarin has a "shadow" when creating page?

I'm using xamarin to build an app android and ios and have noticed that some buttons, webviews and some other elements has a kind of shadow while page is being created and then this "shadow" disappears and everything is fine. It seems to occur with transparent elements and I could fix it by giving negative padding or margin, but it's really annoying and not elegant solution. Does anyone here knows what is happening? I almost forget, this tests are being performed on android, I don't know yet if iOs has same issue.
You guys can see below, the "shadow" is at right of the button(it has transparent background):
After Android 5.0, the default button control on the system will have a shadow,if you don't need the shadow .you could define in your activity theme like below :
<item name="buttonStyle">#style/Widget.AppCompat.Button.Borderless</item>

Xamarin Cross Platform Splash Screen on App boot

Yo. Some of you might already know but Xamarin Apps are booting pretty slow and the delay occurs before any line of code is executed - at least i figured that out with some breakpoints.
So i want to cover that up using a Splashscreen. But since Xamarin is for multiple platforms i'd like to... welll... use cross platform code.
The most important part is: i do NOT want to cover my code delay. I want to App to NOT open with a white blank screen like it currently does, but e.g. with an image or some animation or such stuff.
and yes i already googled a little but everything i found seemed to be android specific or iphone stuff, or it just takes affect after the system boots.
There is no cross-platform way to do that yet. (Answering in 2017/Dec)
You'll need to make it for each platform.
Android: https://developer.xamarin.com/guides/android/user_interface/splash-screen/
iOS: https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/launch-screens/

Large tile of WP 8.1 RT getting grayed out; smaller tiles appear fine

I have a Windows Phone 8.1 app, written in Windows RT and XAML. The app suffers from an issue with one of its shortcut tiles placed on the home screen getting grayed out. In screenshot 1, the large tile is grayed out and the graying out is visible when compared with the tiles of other apps. In screenshot 2, the smaller tile appears perfectly fine.
The issue persists with only the large tile of the app, and it remains grayed out all the time, even when freshly installed onto a phone. I read a lot of reports about app tiles getting grayed out, and the reason behind them was some sort of backup being performed. But in my case the issue is permanent and exists ONLY with the large tile.
Tile being grayed out:
Smaller tile appears fine:
How can I fix this issue? If the issue is because of some backup being performed in the background by the OS, how can I avoid this? Also, I did check the backup option in the settings menu, and it was turned off. So, theoretically, no backup could be performed, leaving no reason for graying out.
Any pointers?
UPDATE: Snippet from the manifest file where the tiles are set. The background color is set to transparent.
<m3:VisualElements DisplayName="my app" Square150x150Logo="Assets\Logo.png" Square44x44Logo="Assets\SmallLogo.png" Description="WindowsPhone" ForegroundText="light" BackgroundColor="transparent" ToastCapable="true">
<m3:LockScreen Notification="badgeAndTileText" BadgeLogo="Assets\LockImage.png" />
<m3:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\Square71x71Logo.png">
<m3:ShowNameOnTiles>
<m3:ShowOn Tile="square150x150Logo" />
<m3:ShowOn Tile="wide310x150Logo" />
</m3:ShowNameOnTiles>
</m3:DefaultTile>
I've read somewhere that the tile can be grayed out by the system if our intentions are to write text on them, just to give it a better contrast.
Please try another tile template.
Check the image you are setting when you create the large tile. Or maybe the Background property. I think its on this two properties. If not, please paste the code you are using to create this tile.

Windows CE 6.0 (OEM 5.37) not displayed hourglass cursor

I have a problem with displaying the hourglass and custom cursors in Windows CE applications on OEM 5 platform. Question is that the cursor does not display by default, and is displayed only when I click on the screen.
Interestingly, the hourglass cursor spins correctly on OEM 4 platform.
I think, that in OEM 5, UI would updated only by actions outside.
What can be done so that the cursor will update correctly at the screen?
I had a similar issue. Here so far what I know and what solutions you have:
In some mobile operating systems the wait-cursor is very sensitive. When you activate him twice (without deactivating him) he will not appear again.
Also there are CE-Devices where a wait-cursor won't show up.
You could disable all controls when you are processing something
You can also put a wait-image or a wait-label in the middle of the screen instead of using the wait-cursor.
My colleagues and I spent lots of hours on these buggy wait-cursors under windows ce. Finally we gave up and used this solutions I mentioned.

Categories