Merge "[Search][Layout] Fix blank space when predictions are disabled" into sc-dev
This commit is contained in:
commit
50c6a37ea9
|
@ -237,7 +237,9 @@ public class PredictionRowView extends LinearLayout implements
|
|||
setTranslationY(scroll);
|
||||
}
|
||||
setAlpha(mScrolledOut ? 0 : 1);
|
||||
AlphaUpdateListener.updateVisibility(this);
|
||||
if (getVisibility() != GONE) {
|
||||
AlphaUpdateListener.updateVisibility(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue