From eb4a34f4b7e65451526cf90675e18d622359badb Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 22 Jan 2021 10:48:24 +0800 Subject: [PATCH] Update --- .../finogeeks/mop/demo/MopApplication.java | 32 ++++++++++++++++++ app/src/main/res/mipmap-xxhdpi/close_dark.png | Bin 0 -> 2631 bytes .../main/res/mipmap-xxhdpi/close_light.png | Bin 0 -> 2390 bytes app/src/main/res/mipmap-xxhdpi/more_dark.png | Bin 0 -> 1510 bytes app/src/main/res/mipmap-xxhdpi/more_light.png | Bin 0 -> 1400 bytes 5 files changed, 32 insertions(+) create mode 100644 app/src/main/res/mipmap-xxhdpi/close_dark.png create mode 100644 app/src/main/res/mipmap-xxhdpi/close_light.png create mode 100644 app/src/main/res/mipmap-xxhdpi/more_dark.png create mode 100644 app/src/main/res/mipmap-xxhdpi/more_light.png diff --git a/app/src/main/java/com/finogeeks/mop/demo/MopApplication.java b/app/src/main/java/com/finogeeks/mop/demo/MopApplication.java index f580c6d..23e0898 100644 --- a/app/src/main/java/com/finogeeks/mop/demo/MopApplication.java +++ b/app/src/main/java/com/finogeeks/mop/demo/MopApplication.java @@ -1,5 +1,6 @@ package com.finogeeks.mop.demo; +import android.graphics.Color; import android.widget.Toast; import androidx.multidex.MultiDexApplication; @@ -25,6 +26,37 @@ public class MopApplication extends MultiDexApplication { FinAppConfig.UIConfig uiConfig = new FinAppConfig.UIConfig(); uiConfig.setHideNavigationBarCloseButton(true); + uiConfig.setHideBackHome(true); + uiConfig.setHideForwardMenu(true); + uiConfig.setHideFeedbackAndComplaints(true); + uiConfig.setMoreMenuStyle(FinAppConfig.UIConfig.MORE_MENU_NORMAL); + + FinAppConfig.UIConfig.CapsuleConfig capsuleConfig = new FinAppConfig.UIConfig.CapsuleConfig(); + capsuleConfig.capsuleWidth = 86f; + capsuleConfig.capsuleHeight = 31f; + capsuleConfig.capsuleRightMargin = 15f; + capsuleConfig.capsuleCornerRadius = 15.5f; + capsuleConfig.capsuleBorderWidth = 0.5f; + capsuleConfig.capsuleBgLightColor = Color.BLACK; + capsuleConfig.capsuleBgDarkColor = Color.WHITE; + capsuleConfig.capsuleBorderLightColor = Color.parseColor("#88ffffff"); + capsuleConfig.capsuleBorderDarkColor = Color.parseColor("#a5a9b4"); + + capsuleConfig.moreLightImage = R.mipmap.more_light; + capsuleConfig.moreDarkImage = R.mipmap.more_dark; + capsuleConfig.moreBtnWidth = 25f; + capsuleConfig.moreBtnLeftMargin = 11f; + + capsuleConfig.closeLightImage = R.mipmap.close_light; + capsuleConfig.closeDarkImage = R.mipmap.close_dark; + capsuleConfig.closeBtnWidth = 25f; + capsuleConfig.closeBtnLeftMargin = 9f; + + capsuleConfig.capsuleDividerLightColor = Color.parseColor("#88ffffff"); + capsuleConfig.capsuleDividerDarkColor = Color.parseColor("#a5a9b4"); + + uiConfig.setCapsuleConfig(capsuleConfig); + FinAppConfig config = new FinAppConfig.Builder() .setSdkKey(BuildConfig.APP_KEY) .setSdkSecret(BuildConfig.APP_SECRET) diff --git a/app/src/main/res/mipmap-xxhdpi/close_dark.png b/app/src/main/res/mipmap-xxhdpi/close_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..ac58b0e358e6e6c5603ed1a4c78994869c43231f GIT binary patch literal 2631 zcmbVOdpuNm8y}iPB1KCsHHMNh_c53n%*8Zl(70p^?OYB{%%z!=8MTFpO13s4CCZz5 zUFvnI=r%>0XwgoR)h1ips=T@&x7@1tOq+e*KlZbKyytVy@A91I`+c6@b2*=r84|SK zY`*P$1Oj2^&tdW4IY9py8^NP}`>pNpv=s7-ghHjUkdiM45Ok4L0HFNE{5XII@I}en zTYz;4#2gtI770aiH&BIAF_y2_!K%bE7>z)z^HIt8!UO<934l0ILPHN~8_+0FL_=?K z=i<3CCJ+yDcFKX!ok3y3oe4rO5!%NawN6Ea3B&-zN2$b#5(QO7Lx1L_!fU-4hemx? zff8uwKb(r>hM<^IIe>Dp&9PdE5edx0FDPJq&wt7I3KZ2vtT%Oe{V>y2zx^fm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