Merge pull request #218 from TouchInstinct/fix/crossfade_view_attr
change name attr
This commit is contained in:
commit
b6da108fb3
|
|
@ -22,7 +22,7 @@ class CrossfadeView @JvmOverloads constructor(
|
||||||
setOutAnimation(context, R.anim.fade_out_animation)
|
setOutAnimation(context, R.anim.fade_out_animation)
|
||||||
|
|
||||||
context.withStyledAttributes(attrs, R.styleable.CrossfadeView, 0) {
|
context.withStyledAttributes(attrs, R.styleable.CrossfadeView, 0) {
|
||||||
defaultChild = getResourceId(R.styleable.CrossfadeView_defaultChild, 0)
|
defaultChild = getResourceId(R.styleable.CrossfadeView_crossfadeDefaultChild, 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue