Hello @JarvanZhang
I just found the solution
in MainActivity.cs
switch (Device.Idiom)
{
case TargetIdiom.Tablet:
{
var widhtinch = Resources.DisplayMetrics.WidthPixels / Resources.DisplayMetrics.Xdpi;
var heightinch = Resources.DisplayMetrics.HeightPixels / Resources.DisplayMetrics.Ydpi;
var inch = Math.Sqrt(widhtinch * widhtinch + heightinch * heightinch);
if(inch <= 7.6)
{
Device.SetTargetIdiom(TargetIdiom.Phone);
RequestedOrientation = ScreenOrientation.Portrait;
}