Import image in android studio, and generate different sizes - image

So in Android Studio, there is a tool called asset studio, which is nice.
I'm building my first game for Android and know there are different res folders for different DPI's.
You can let Android Studio generate the different images from one source image, using the Android Asset Studio. But only for launcher icons, notifcation icons and actionbar icons. How can I do this for images i want to use in game?

Related

How to get images from Visual Studio Image Library in other dimensions?

I would like to use icons in my program on some buttons to save space and be more clear. I was under the impression that the Visual Studio Image Library is meant for this. However, Visual Studio 2019 Image Library only includes 16x16 images, while I also want 20x20, 24x24 and 28x28 (and maybe more), for different dpi/scale settings. Can I create these somehow? Or does Visual Studio not support dpi-aware applications with its Image Library?
I tried exporting the 16x16 svg as a 20x20 png, both with and without upscaling it first, but both resulted in a blurry image.

Windows UWP desktop app published in Visual Studio 2019 missing icons

I've developed a UWP desktop app in VS 2019 and C#, and used VS to automatically generate visual assets from a source JPG image.
This works fine in Debug and Release configurations (in particular, the proper icon appears in the taskbar), but when I generate a self-signed msixbundle and use it to install the application on my laptop and run it, images are missing from several locations, including the taskbar icon and desktop shortcuts, but appear in others, such as the start menu, search results and flash screen.
I've tried playing with the settings for the automatic generator and manually generating images and updating the manifest file, but nothing seems to work. As nearly as I can figure out, the images needed for things like the taskbar icon are being generated into the Assets folder, but they are not being included in the bundle when published.
Is there a solution/workaround for this (short of getting a more competent developer)?
Edit: A blank, gray rectangle appears when icons are missing.

Appcelerator Studio - All xml views scrambled

I am using appcelerator studio App Designer view to layout my application view, but when I imported it into another system it all looks scrambled, what can I do to resolve this. I am new to appcelerator studio development. Below is the screen shot for your reference. Any pointers will be appreciated.

Does Xamarin.Forms have designer support on VS?

I recently downloaded Xamarin.Forms as Microsoft made it free. I am looking around in Visual Studio for a visual designer, that is usually included in Xamarin.Droid and Xamarin.IOS. Is there no such feature for Xamarin.Forms? Surely I must be missing something ?
Xamarin does not have a designer for Xamarin.Forms at this time, but is working on the Xamarin.Forms Previewer which renders a live preview of a Xamarin.Forms page side-by-side with the XAML markup directly inside the Visual Studio and Xamarin Studio IDEs.
You can open the Xamarin.Forms Previewer by clicking on View -> Other Windows -> Xamarin.Forms Previewer in the Visual Studio menu or alternatively just searching for Xamarin.Forms in the Visual Studio quicklaunch box.
In addition to the official Xamarin.Forms Previewer, there is at least one other third party tool that exists in this space as well:
Gorilla Player by UX Divers is a real time Xamarin.Forms previewer currently in beta that runs in both a simulator and on hardware devices.
Update (2018): There is now also the Xamarin Live Player for Xamarin.Forms that allows you visualize your XAML layouts running live on a physical device as you are developing them.
No, Xamarin Forms does not have a drag and drop design surface. There is a live XAML previewer, but it is still in alpha release.
A Xamarin previewer (while not a designer, it is still VERY handy) is available in the latest version of Visual Studio. To access it go to
View > Other Windows > Xamarin.Forms Previewer.
When you open a XAML page, you can see it in the previewer (make sure your project is built first or you will get an error.)
The preview will update automagically as you edit your XAML, no save is required. When working with lists etc, you will want to create some dummy data to ensure you can see how it will work. There is an example at https://xamarinhelp.com/xamarin-forms-previewer/
There are options to view your Xamarin
Xamarin Form Previewer - you view it on visual studio
Xamarin Live Player - you can view it on the target devices
Gorilla Player - you can view it on target devices with real-time update
However all comes with limitation, if you're using third party controls than it may not be supported.
You can find a "Design" named button under your source code. Click on it and you will be able to use drag and drop from the tool box on the left.

Resizing XAML designer for Windows Store app to preview different screen sizes

I'd like to preview how my app page will look with some different screen widths (full screen and several narrow layouts) in Visual Studio XAML designer. At this moment it's laid out as if for the full screen.
Is there a way to preview the page for different widths in Visual Studio?
There is a Device tool window available from the Design menu that has a list of different standard devices as well as orientation and other settings that can affect the display of your app. The same is available in Blend.

Resources