mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Fix transparency
This commit is contained in:
		
							parent
							
								
									395760efeb
								
							
						
					
					
						commit
						3a6cb08c05
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		|  | @ -56,6 +56,8 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp | |||
|     LinearLayout bottomSheet; | ||||
|     @BindView(R.id.fab_list) | ||||
|     FloatingActionButton fabList; | ||||
|     @BindView(R.id.transparentView) | ||||
|     View transparentView; | ||||
| 
 | ||||
|     @Inject | ||||
|     LocationServiceManager locationManager; | ||||
|  | @ -94,6 +96,8 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp | |||
|     } | ||||
| 
 | ||||
|     private void initBottomSheetBehaviour() { | ||||
|         transparentView.setAlpha(0); | ||||
| 
 | ||||
|         bottomSheet.getLayoutParams().height = getWindowManager() | ||||
|                 .getDefaultDisplay().getHeight() / 16 * 9; | ||||
|         bottomSheetBehavior = BottomSheetBehavior.from(bottomSheet); | ||||
|  | @ -346,11 +350,14 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp | |||
| 
 | ||||
|         lockNearbyView(true); | ||||
|         // Begin the transaction | ||||
|         if (viewMode.isMap()) { | ||||
|         // Begin the transaction | ||||
|         /*if (viewMode.isMap()) { | ||||
|             setMapFragment(); | ||||
|         } else { | ||||
|             setListFragment(); | ||||
|         } | ||||
|         }*/ | ||||
|         setMapFragment(); | ||||
|         setListFragment(); | ||||
| 
 | ||||
|         hideProgressBar(); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 neslihanturan
						neslihanturan