瀏覽代碼

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