From 49b79c43adce51af318d9e0977194cda060f720f Mon Sep 17 00:00:00 2001 From: AriesHoo Date: Wed, 18 Apr 2018 17:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=AE=BE=E7=BD=AE=20Navigati?= =?UTF-8?q?onViewHelper=20=E4=B8=ADActivity=20DecorView=20=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E6=93=8D=E4=BD=9C=E9=81=BF=E5=85=8D=E6=BB=91=E5=8A=A8?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E8=83=8C=E6=99=AF=E4=B8=8D=E9=80=8F=E6=98=8E?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 ++-- .../com/aries/ui/helper/navigation/NavigationViewHelper.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)); }