Today I'll show you a tool for every Xamarin developer - Xamarin.Forms Previewer - a tool which will help you to design Xamarin.Forms views faster.
First we need a xaml view:
The view can't be easier. It contains only one label.
Now let's build the project and open Previewer from the View Menu:
It should results in displaying the new window which renders your xaml view:
Now the most interesting part. Let's add a few labels and change the screen background color. There is no need to save, the design will be changed on the previewer instantly.
This is a Xamarin.Forms previewer. I'm using it because it speeds up my view desting loop. I don't need to run the app on emulator or a device to see effects of my changes.
First we need a xaml view:
The view can't be easier. It contains only one label.
Now let's build the project and open Previewer from the View Menu:
It should results in displaying the new window which renders your xaml view:
Now the most interesting part. Let's add a few labels and change the screen background color. There is no need to save, the design will be changed on the previewer instantly.
This is a Xamarin.Forms previewer. I'm using it because it speeds up my view desting loop. I don't need to run the app on emulator or a device to see effects of my changes.
Komentarze
Prześlij komentarz