Using the method StackLayout
Split the screen horizontally
Split the screen horizontally into three parts
Split the screen vertically into three parts
Split the screen horizontally into three parts
Split the screen vertically into three parts
var pixelWidth=DeviceDisplay.Current.MainDisplayInfo.Width; //pixel width
var density=DeviceDisplay.Current.MainDisplayInfo.Density; // density
var fullWidthRequest=pixelWidth/density; //FullWidthRequest
public App()
{
InitializeComponent();
string guid = Preferences.Default.Get("guid", "");
if (string.IsNullOrEmpty(guid))
{
Preferences.Default.Set("guid", Guid.NewGuid().ToString());
MainPage = new IntroPage();
}
else
{
MainPage = new MainPage();
}
}
var hvm = new HomeViewModel();,
hvm= applicationService.GetHomeViewModel(true, 0, cat.url);
return View("index",hvm);
ss " s