Bläddra i källkod

Fix cut off fab actions

Guy Carmeli 7 år sedan
förälder
incheckning
c3c4a044a6

+ 2
- 1
android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java Visa fil

@@ -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