Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header size problem #10

Open
atuldhanuka opened this issue Oct 27, 2015 · 6 comments
Open

Header size problem #10

atuldhanuka opened this issue Oct 27, 2015 · 6 comments

Comments

@atuldhanuka
Copy link

Hi, i used your library it nice but i am facing some problem in Header part

Take ur project activity

Normal Activity which contain only TextView
MenuItemActivity which contain Two EditText and Button

In Normal activity when we scroll header size is getting decreased as we go top of device
but in MenuItemActivity it not happening

Please can u help me out in these issue

@atuldhanuka
Copy link
Author

Could not find class 'android.view.animation.PathInterpolator', referenced from method com.klinker.android.sliding.MultiShrinkScroller.

Could not find class 'com.klinker.android.sliding.MultiShrinkScroller$6', referenced from method com.klinker.android.sliding.MultiShrinkScroller.initialize

Could not find class 'com.klinker.android.sliding.ViewUtil$1', referenced from method com.klinker.android.sliding.ViewUtil.addRectangularOutlineProvider

these three error is coming

@klinker41
Copy link
Owner

Can you post the full stack trace? How are you including the library into your app? What device and version of android are you testing on?

@atuldhanuka
Copy link
Author

Like these i have add your library in my project in gradle app section
dependencies {
compile 'com.klinkerapps:sliding-activity:1.1.1'
}

device nexus 5 , Nexus 7,Moto G3
Min sdk version 18
compileSdkVersion 23

@atuldhanuka
Copy link
Author

Full Stack Trace

10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.view.Window.getStatusBarColor, referenced from method com.klinker.android.sliding.SlidingActivity.updateStatusBarColor
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 17670: Landroid/view/Window;.getStatusBarColor ()I
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0023
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.view.Window.setStatusBarColor, referenced from method com.klinker.android.sliding.SlidingActivity.onCreate
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 17678: Landroid/view/Window;.setStatusBarColor (I)V
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0012
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.view.ViewAnimationUtils.createCircularReveal, referenced from method com.klinker.android.sliding.SlidingActivity.setImage
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve static method 17472: Landroid/view/ViewAnimationUtils;.createCircularReveal (Landroid/view/View;IIFF)Landroid/animation/Animator;
10-29 16:55:28.679 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x71 at 0x0066
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 E/dalvikvm﹕ Could not find class 'android.view.animation.PathInterpolator', referenced from method com.klinker.android.sliding.MultiShrinkScroller.
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve new-instance 2094 (Landroid/view/animation/PathInterpolator;) in Lcom/klinker/android/sliding/MultiShrinkScroller;
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x00fb
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.view.animation.PathInterpolator.getInterpolation, referenced from method com.klinker.android.sliding.MultiShrinkScroller.updateHeaderTextSizeAndMargin
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 17947: Landroid/view/animation/PathInterpolator;.getInterpolation (F)F
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x005d
10-29 16:55:28.691 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.view.View.setElevation, referenced from method com.klinker.android.sliding.MultiShrinkScroller.updatePhotoTintAndDropShadow
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 17424: Landroid/view/View;.setElevation (F)V
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0016
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.view.View.setElevation, referenced from method com.klinker.android.sliding.MultiShrinkScroller.updatePhotoTintAndDropShadow
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 17424: Landroid/view/View;.setElevation (F)V
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0040
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Failed resolving Lcom/klinker/android/sliding/MultiShrinkScroller$6; interface 2048 'Landroid/view/View$OnScrollChangeListener;'
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ Link of class 'Lcom/klinker/android/sliding/MultiShrinkScroller$6;' failed
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 E/dalvikvm﹕ Could not find class 'com.klinker.android.sliding.MultiShrinkScroller$6', referenced from method com.klinker.android.sliding.MultiShrinkScroller.initialize
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve new-instance 2425 (Lcom/klinker/android/sliding/MultiShrinkScroller$6;) in Lcom/klinker/android/sliding/MultiShrinkScroller;
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x00ce
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.widget.EdgeEffect.onPull, referenced from method com.klinker.android.sliding.MultiShrinkScroller.onTouchEvent
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 18033: Landroid/widget/EdgeEffect;.onPull (FF)V
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x007d
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Could not find method android.widget.EdgeEffect.getColor, referenced from method com.klinker.android.sliding.MultiShrinkScroller.setHeaderTintColor
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve virtual method 18029: Landroid/widget/EdgeEffect;.getColor ()I
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000e
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ DexOpt: unable to opt direct call 0x4619 at 0x108 in Lcom/klinker/android/sliding/MultiShrinkScroller;.
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 I/dalvikvm﹕ Failed resolving Lcom/klinker/android/sliding/MultiShrinkScroller$6; interface 2048 'Landroid/view/View$OnScrollChangeListener;'
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ Link of class 'Lcom/klinker/android/sliding/MultiShrinkScroller$6;' failed
10-29 16:55:28.695 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ DexOpt: unable to opt direct call 0x5175 at 0xd0 in Lcom/klinker/android/sliding/MultiShrinkScroller;.initialize
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ Unable to resolve superclass of Lcom/klinker/android/sliding/ViewUtil$1; (2059)
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ Link of class 'Lcom/klinker/android/sliding/ViewUtil$1;' failed
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 E/dalvikvm﹕ Could not find class 'com.klinker.android.sliding.ViewUtil$1', referenced from method com.klinker.android.sliding.ViewUtil.addRectangularOutlineProvider
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ VFY: unable to resolve new-instance 2458 (Lcom/klinker/android/sliding/ViewUtil$1;) in Lcom/klinker/android/sliding/ViewUtil;
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0006
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ Unable to resolve superclass of Lcom/klinker/android/sliding/ViewUtil$1; (2059)
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 W/dalvikvm﹕ Link of class 'Lcom/klinker/android/sliding/ViewUtil$1;' failed
10-29 16:55:28.699 21618-21618/com.idsnext.pulze247 D/dalvikvm﹕ DexOpt: unable to opt direct call 0x524c at 0x08 in Lcom/klinker/android/sliding/ViewUtil;.addRectangularOutlineProvider

@klinker41
Copy link
Owner

are you using the sample, or is this something you implemented yourself?

@atuldhanuka
Copy link
Author

i had downloaded ur project from github and import in android studio 1.3
then also it is not working

when i click on MenuItemActivity in ur project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants