android-slidingactivity icon indicating copy to clipboard operation
android-slidingactivity copied to clipboard

Header size problem

Open atuldhanuka opened this issue 10 years ago • 6 comments

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 avatar Oct 27 '15 12:10 atuldhanuka

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

atuldhanuka avatar Oct 28 '15 05:10 atuldhanuka

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?

klinker41 avatar Oct 28 '15 15:10 klinker41

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 avatar Oct 29 '15 11:10 atuldhanuka

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

atuldhanuka avatar Oct 29 '15 11:10 atuldhanuka

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

klinker41 avatar Oct 29 '15 15:10 klinker41

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

atuldhanuka avatar Oct 30 '15 10:10 atuldhanuka