diff --git a/build.gradle b/build.gradle index 00c7f2f..a51df07 100644 --- a/build.gradle +++ b/build.gradle @@ -30,6 +30,6 @@ ext { minSdkVersion = 15 targetSdkVersion = 25 supportVersion = "25.3.1" - versionCode = 31 - versionName = "3.1.0" + versionCode = 32 + versionName = "3.1.1" } diff --git a/widget-core/src/main/java/com/aries/ui/helper/navigation/NavigationViewHelper.java b/widget-core/src/main/java/com/aries/ui/helper/navigation/NavigationViewHelper.java index 6af5ff0..c69ce3b 100644 --- a/widget-core/src/main/java/com/aries/ui/helper/navigation/NavigationViewHelper.java +++ b/widget-core/src/main/java/com/aries/ui/helper/navigation/NavigationViewHelper.java @@ -27,6 +27,7 @@ * Description: * 1、修改NavigationLayoutDrawable默认保持与activity的根布局背景一致 * 2、2018-2-26 15:56:47 新增setBottomView(View bottomView, boolean enable)用于控制底部View设置padding/margin + * 3、2018-4-18 17:50:35 去掉设置Activity DecorView 背景操作避免滑动返回背景不透明BUG */ public class NavigationViewHelper { @@ -102,7 +103,6 @@ public NavigationViewHelper setTransEnable(boolean transEnable) { setNavigationLayoutColor(Color.WHITE); if (mContentView != null && mContentView.getBackground() != null) { setNavigationLayoutDrawable(DrawableUtil.getNewDrawable(mContentView.getBackground())); - mDecorView.setBackgroundDrawable(DrawableUtil.getNewDrawable(mContentView.getBackground())); } return setNavigationViewColor(transEnable ? Color.TRANSPARENT : Color.argb(102, 0, 0, 0)); }