Posts

Showing posts with the label #splashscreen

Splash screen Like Swiggy App

Image
  Splash screen like swiggy app Please, support my blog by clicking on our sponsors ad! Create splashscreen Code explain in this video LandingPage.xaml <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="SwiggyAppDesign.Views.LandingPage" BackgroundColor="white"> <ContentPage.Content> <Grid RowDefinitions="*" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" Padding="20"> <Grid x:Name="grid" Grid.Row="0" RowSpacing="20" RowDefinitions="Auto,Auto,Auto,Auto" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand"> <Image Grid.Row="0" x:Name="imgLocation" Source="https://encrypted-t...

Splash Screen using xamarin form.

Image
  Splash screen in xamarin form As you can see in above image that splash screen of famous app is very simple. They just keep background color and add icon in center. We will create simple splash screen. please watch video  to understand the code Let begin with android project. Follow the step as given below: 1. First add icon in your android project in Resource -> Drawable folder. Icon in android project 2. Create xml file with name "splash_background" in Resource -> Drawable folder 3. Copy below code in xml file. <?xml version="1.0" encoding="utf-8" ?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <color android:color="#FFFFFF"/> </item> <item> <bitmap android:src="@drawable/splashscreen" android:tileMode="disabled" android:gravity="center"/> </item> </layer-list> android:src="@...