I am working on Xmarin.forms project. I have many icons in the app. what should be the size of the icons for each platform? I know android supports
Android
72x72 - drawable
72x72 - drawable-hdpi
96x96 - drawable-xhdpi
144x144 - drawable-xxhdpi
iOS
57x57
114x114
120x120
72x72
144x144
76x76
152x152
28x28
58x58
50x50
100x100
40x40
80x80
512x512
1024x1021
This sizes are only for the logo icons? Or all the icons including toolbar icon and burger menu(using master details) has to follow this resolutions? And what size images I can use for splash screen for android,iOs and windows phone?
And what are icon sizes for windows phone?
Please guide me on this.
It depends per platform, per control.
The best would be to refer to the platform specific documentation about user interfaces.
You can find Apple's here.
The one for Android can be found here.
The Windows one can be found here.
Or have a look at this aggregated site with all sizes and flavours in one place.
Also there are some generation tools, at least for the app icons, etc. For example have a look at Make App Icon.
Last but not least; have a good look at how each platform handles icons and sizes. For iOS and Android it has to do with naming conventions or in which folder you put your icons. This is to support all resolutions out there.
Related
My app UIs are working fine on mobile screen devices. But when running on big screen devices like tablet the UI is not looking good. It is very difficult to read the text in tablet and icon sizes are also small. If I increase the icon size and font size for the tablet, it also affects small screen devices.
Screenshot:
See the above screenshot: On iPhone, it is very easy to read the text and view icons. But on the iPad, the text and icons are not in a good visible format.
My app is mainly for kids and so I need icons and text in a good readable form. So how can I solve this problem in all the devices?
Uploaded my XAML file on here.
It's very complicated to separate UI for iPhone and iPad in Xamarin.Forms . You could use the class Device .
The Device class contains a number of properties and methods to help developers customize layout and functionality on a per-platform basis.
In your case , you can use the Device.Idiom .
For example if you want to set different font size on iPad and iPhone
<Label.FontSize>
<OnIdiom x:TypeArguments="x:Double"
Phone="20"
Tablet="40"/>
</Label.FontSize>
You can set different value of property in xaml or code behind .For more details you can check https://learn.microsoft.com/en-us/xamarin/xamarin-forms/platform/device#deviceidiom
we have a mobile application developed using Kony. We are trying to port the same to desktop version. Everything goes well but there are small challenges wrt UI i.e., responsive UI. Since I am new to Kony please guide me if there is a way to include media queries in a Kony application or what could be trick to make the app responsive on browser.
Thanks.
Kony does not currently support media queries to say "for screens of this size use this css rules". Remember in Kony your styling is done with skinning, not CSS3. Skins do translate into css for web apps, but that's a different story.
In Kony the approach is different. You design your forms for different screen sizes based on the type of mobile device: Mobile phone, tablet, desktop, watch, etc.
If you come from a web development background like I do, you might even be expecting a grid system like in Bootstrap or Foundation. But bear in mind that the real value of responsive design is not having to worry about the resolution of the screen, except Kony already gives you this through the use of Dp units instead of pixels. So the same mobile form design will adapt to any mobile device resolution. The same tablet form will adapt to any tablet resolution and so on.
For different device types, the premise is that your desktop and mobile screens will most likely be very different, or even start alike but evolve differently over time.
So the solution is to just copy your form from the "Mobile" subtree (right-click>copy) and paste it under the "Desktop" subtree. Then you'll be able to edit them independently.
I hope this helps.
Edit:
Starting with Visualizer V8 SP2 Kony does support Responsive Design.
Note: This question is only about AppBarButton icons.
In writing a UWP app that runs on all form factors, I'd like to include all necessary variations of AppBarButton icons.
From what I've read so far, it seems that I need 24x24 icons in each of the five scale factors, 100%, 125%, 150%, 200%, and 400%. In other words, 24x24, 30x30, 36x36, 48x48, 96x96.
Is this correct?
Also, how should these be named so that the system correctly picks the right variant given the base name?
Edit: I've read elsewhere that only one size is needed, and that Windows UWP renders the icon in device-independent units (i.e. scales it appropriately.)
By comparison, iOS allows multiple images to be included with the #2x and #3x suffixes, and Android allows images to be placed in special subdirectories, e.g dir-hdpi, dir-mdpi, where dir is the base directory name. So it seems that UWP does not have such a system, and only a single icon is necessary. Is this revised understanding correct?
You are right: UWP apps render the size of the icon depending on the device. But you can use the icons using Segoe MDL2 in your appbar buttons. There are many icons prepared to be scaled automatically. I use this technique in all my UWP apps without problems.
https://msdn.microsoft.com/en-us/library/windows/apps/jj841126.aspx
If you are using a png image for your icon, I recommend you to set the size of this image to 48x48 pixels, which is the default size for appbar image icons. The UWP system will then automatically scale your icons without rendering problems.
It it possible to make app icons live (such as Clock icon) or be translucent (such as folders icons)?
Can't find any official information about it, only ios7 commercials.
Not that I know of I Believe that there is no translucent or live capability for third party applications when it comes to the home screen unfortunately. But you can make various elements within your application translucent.
The Android Icon Design Guidelines seem to address launcer, menu, tab, dialog .., icons. However the guidelines does not mention wallpaper icons. Is it safe to assume the launcher guidelines apply to live wallpaper icons?
Um, no. You need to make a "thumbnail" for your wallpaper. Looky here, fr'instance: How to set the Android Live Wallpaper icon (aka "thumbnail")