Browse Source

Fix cut off fab actions

Guy Carmeli 7 years ago
parent
commit
c3c4a044a6

+ 2
- 1
android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java View File

@@ -117,8 +117,9 @@ public class BottomTabsLayout extends BaseLayout implements AHBottomNavigation.O
117 117
 
118 118
     private void createSnackbarContainer() {
119 119
         snackbarAndFabContainer = new SnackbarAndFabContainer(getContext(), this);
120
-        RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(MATCH_PARENT, WRAP_CONTENT);
120
+        RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT);
121 121
         lp.addRule(ABOVE, bottomTabs.getId());
122
+        snackbarAndFabContainer.setClickable(false);
122 123
         getScreenStackParent().addView(snackbarAndFabContainer, lp);
123 124
     }
124 125