[Android Themes] remuntada78:
Seems i solved the problem with thr recompile :laugh:

Now i've a problem with .method public onTouchEvent(Landroid/view/MotionEvent;)Z, my code is different from your

original

invoke-virtual {v0, v1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

.line 3820
and-int/lit16 v0, v4, 0xff

move/from16 v26, v0

packed-switch v26, :pswitch_data_808

.line 4185
:cond_8b
:goto_8b
:pswitch_8b
const/16 v26, 0x1

goto :goto_35

.line 3822
:pswitch_8e
move-object/from16 v0, p0

iget v0, v0, Landroid/widget/AbsListView;->mTouchMode:I

move/from16 v26, v0

packed-switch v26, :pswitch_data_81a

.line 3838
const/16 v26, 0x0

move-object/from16 v0, p1

move/from16 v1, v26

invoke-virtual {v0, v1}, Landroid/view/MotionEvent;->getPointerId(I)I

move-result v26

move/from16 v0, v26

move-object/from16 v1, p0

i wasn't able to add your blue mod code in my method so i took the code from adi's method, i highlighted in red

invoke-virtual {v0, v1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

.line 3820
and-int/lit16 v0, v4, 0xff

move/from16 v26, v0

packed-switch v26, :pswitch_data_808

.line 4185
:cond_8b
:goto_8b
:pswitch_8b
const/16 v26, 0x1

goto :goto_35

.line 3822
:pswitch_8e
[COLOR="Red"]
const/16 v26, 0x1

move/from16 v0, v26

move-object/from16 v1, p0

iput-boolean v0, v1, Landroid/widget/AbsListView;->mIsTap:Z

.line 3556
move-object/from16 v0, p0

iget-object v0, v0, Landroid/widget/AbsListView;->Inverse:Landroid/os/Handler;

move-object/from16 v26, v0

const/16 v27, 0x0

const-wide/16 v28, 0x64

invoke-virtual/range {v26 .. v29}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z[/COLOR]

move-object/from16 v0, p0

iget v0, v0, Landroid/widget/AbsListView;->mTouchMode:I

move/from16 v26, v0

packed-switch v26, :pswitch_data_81a

and i got these errors

Line 835: W/dalvikvm( 1854): VFY: copy1 v0<-v29 type=22 cat=3
Line 837: W/dalvikvm( 1854): VFY: rejecting opcode 0x08 at 0x00a3
Line 839: W/dalvikvm( 1854): VFY: rejected Landroid/widget/AbsListView;.onTouchEvent (Landroid/view/MotionEvent;)Z
Line 847: W/dalvikvm( 1854): VFY: unable to find class referenced in signature (Landroid/widget/AbsListView;)
Line 851: W/dalvikvm( 1854): VFY: 'this' arg 'Ljava/lang/Object;' not instance of 'Landroid/view/View;'
Line 853: W/dalvikvm( 1854): VFY: rejecting opcode 0x6e at 0x000e
Line 855: W/dalvikvm( 1854): VFY: rejected Landroid/widget/AbsListView$FlingRunnable;.<init> (Landroid/widget/AbsListView;)V
Line 903: W/dalvikvm( 1854): VFY: unable to find class referenced in signature (Landroid/widget/ListView;)
Line 909: W/dalvikvm( 1854): VFY: unable to find class referenced in signature (Landroid/widget/ListView;)
Line 917: W/dalvikvm( 1854): VFY: 'this' arg 'Ljava/lang/Object;' not instance of 'Landroid/widget/ListView;'

do you know what it mean?

i think it depend from my registers

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
[COLOR="Red"] .registers 31[/COLOR]
.parameter "ev"

seems there is an error in AbsListView$FlingRunnable.smali too , i think is in this code

.method constructor <init>(Landroid/widget/AbsListView;)V
.registers 4

.prologue
.line 4525
iput-object p1, p0, Landroid/widget/AbsListView$FlingRunnable;->this$0:Landroid/widget/AbsListView;
[COLOR="Red"]
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
[/COLOR]
.line 4499
new-instance v0, Landroid/widget/AbsListView$FlingRunnable$1;

invoke-direct {v0, p0}, Landroid/widget/AbsListView$FlingRunnable$1;-><init>(Landroid/widget/AbsListView$FlingRunnable;)V