问题 I am unable to set the View Size matching the Display Size , below is the code, it is a Transparent View TestView testView; protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); testView = new TestView(this); SetContentView(testView); } The Default Height of the View when the app runs is height=1206 but the Display Height is 1280 , i have used the following methods to set the View Size match the Screen Size, but none works Does not work protected