songchuanyang

Results 6 comments of songchuanyang

``` 1. BottomNavigationViewInner中 private BottomNavigationItemView[] mButtons; 改为 private NavigationBarItemView[] mButtons; 对应修改BottomNavigationViewEx方法返回值 2.构造方法 public BottomNavigationViewInner(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); TintTypedArray a = ThemeEnforcement.obtainTintedStyledAttributes(context, attrs, com.google.android.material.R.styleable.BottomNavigationView, defStyleAttr,...

```` 1. BottomNavigationViewInner中 private BottomNavigationItemView[] mButtons; 改为 private NavigationBarItemView[] mButtons; 对应修改BottomNavigationViewEx方法返回值 2.构造方法 public BottomNavigationViewInner(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); TintTypedArray a = ThemeEnforcement.obtainTintedStyledAttributes(context, attrs, com.google.android.material.R.styleable.BottomNavigationView, defStyleAttr,...

![image](https://user-images.githubusercontent.com/13843259/231327468-47896e33-a041-437a-a1d2-5b786387be46.png)

在自己自定义的popup中现在要重写以下代码才能解决这个问题,太过繁琐 ```` /** * 执行倚靠逻辑 */ float translationX = 0, translationY = 0; // 弹窗显示的位置不能超越Window高度 float maxY = XPopupUtils.getAppHeight(getContext()); int overflow = XPopupUtils.dp2px(getContext(), 10); float centerY = 0; public void...

我使用的版本是2.9.11 这个版本用我的代码在弹窗中使用没有问题 其他版本没有进行测试

如果不存在大图的情况下 重写SmartGlideImageLoader 设置 PhotoView setScaleType(ImageView.ScaleType.CENTER_INSIDE);就可以解决问题