Greenletuce
Member
Hi everyone, I'm here for an other newbie question, I made a layout in the designer and I have a blank space when I try it on my phone, even though I set the views in the script so that they fit to the the entire screen. 
I need a menu to have a vertical scrolling so I loaded the layout with this method :
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Here's the layout in the designer :
 
		
		
	
	
		 
	
and here's the result on my phone :
		 
	
I thought I was doing everything fine until I saw this blank space. However, it appears to be only when the phone is rotated on portrait mode. Is there a way I can fix this ?
			
			I need a menu to have a vertical scrolling so I loaded the layout with this method :
			
				B4X:
			
		
		
		Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("scroll")
    scrollview1.Panel.LoadLayout("test")
    scrollview1.Panel.Height = pan1.Height
    scrollview1.Panel.Width = pan1.Width
End SubHere's the layout in the designer :
and here's the result on my phone :
I thought I was doing everything fine until I saw this blank space. However, it appears to be only when the phone is rotated on portrait mode. Is there a way I can fix this ?
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		