Frank-Zhu / PullZoomView

An Android custom ListView and ScrollView with pull to zoom-in.
Apache License 2.0
2.32k stars 624 forks source link

zoomView无法正常呈现,被contentView遮挡 #34

Closed susuzero closed 9 years ago

susuzero commented 9 years ago

很感谢提供这么酷的控件,但在使用中遇到一些问题 英文比较烂,描述就直接写中文了 我在Activity中仅有此控件:PullToZoomScrollViewEx 但是呈现结果却不尽人意,zoomView被遮挡,且图片高度较高的情况下无法正常缩放 2015-11-02 17 16 35

代码如下如下 MainActivity 2015-11-02 17 30 52

activity_main.xml 2015-11-02 17 31 06

contentView 2015-11-02 17 32 07

zoomView 2015-11-02 17 32 36

headerView 2015-11-02 17 32 25

顺便说一句,Gradle添加有问题,Manifest提示错误

susuzero commented 9 years ago

问题解决,在contentView中加入android:background属性即可,至于为什么会这样就不知道了。 Gradle中添加依赖依然有问题 Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:15:9-43 is also present at [com.github.frank-zhu:pullzoomview:1.0.0] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher) Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:12:5-122:19 to override

Frank-Zhu commented 9 years ago

@susuzero 好的,我处理一下gradle依赖,感谢反馈!

commonslok commented 8 years ago

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:15:9-43 is also present at [com.github.frank-zhu:pullzoomview:1.0.0] AndroidManifest.xml:13:9-45 value=(@drawable/ic_launcher) Suggestion: add 'tools:replace="android:icon"' to element at AndroidManifest.xml:12:5-122:19 to override

这个问题as已经给出建议了,在manifest.xml里加tools:replace="android:icon