Skip to content

Commit

Permalink
Fixed custom view inflation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad Akram committed Jan 25, 2019
1 parent a98ea29 commit 448e1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sneaker/src/main/java/com/irozon/sneaker/Sneaker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ class Sneaker(private var context: Context) : View.OnClickListener, LifecycleObs

targetView?.let {
removeExistingSneakerView(it)
it.addView(sneakerView, 0)
it.addView(sneakerView)

sneakerView.startAnimation(AnimationUtils.loadAnimation(context, R.anim.popup_show))
if (mAutoHide) {
Expand Down

0 comments on commit 448e1c4

Please sign in to comment.