| 
				
			 | 
			
			
				@@ -95,7 +95,11 @@ public class ComponentLayout extends FrameLayout implements ReactComponent, Titl 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				95
			 | 
			
			
				     public void drawBelowTopBar(TopBar topBar) { 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				96
			 | 
			
			
				         if (getLayoutParams() instanceof RelativeLayout.LayoutParams) { 
			 | 
		
	
		
			
			| 
				97
			 | 
			
				97
			 | 
			
			
				             RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) getLayoutParams(); 
			 | 
		
	
		
			
			| 
				98
			 | 
			
				
			 | 
			
			
				-            layoutParams.topMargin = ViewUtils.getHeight(topBar); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+            if (topBar.getLayoutParams() instanceof MarginLayoutParams) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				99
			 | 
			
			
				+                layoutParams.topMargin = ViewUtils.getHeight(topBar) + ((MarginLayoutParams) topBar.getLayoutParams()).topMargin; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				100
			 | 
			
			
				+            } else { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				101
			 | 
			
			
				+                layoutParams.topMargin = ViewUtils.getHeight(topBar); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				102
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				99
			 | 
			
				103
			 | 
			
			
				             try { 
			 | 
		
	
		
			
			| 
				100
			 | 
			
				104
			 | 
			
			
				                 setLayoutParams(layoutParams); 
			 | 
		
	
		
			
			| 
				101
			 | 
			
				105
			 | 
			
			
				             } catch (IllegalStateException ignored) { } 
			 |