Преглед на файлове

Fix cut off fab actions

Guy Carmeli преди 7 години
родител
ревизия
c3c4a044a6
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java

+ 2
- 1
android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java Целия файл

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