Merge "Fix issue where "X" would appear over QSB bar in landscape mode" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
eb04476def
@@ -144,7 +144,7 @@ public class SearchDropTargetBar extends FrameLayout implements DragController.D
|
|||||||
if (mEnableDropDownDropTargets) {
|
if (mEnableDropDownDropTargets) {
|
||||||
mQSBSearchBar.setTranslationY(0);
|
mQSBSearchBar.setTranslationY(0);
|
||||||
} else {
|
} else {
|
||||||
mDropTargetBar.setAlpha(1f);
|
mQSBSearchBar.setAlpha(1f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mIsSearchBarHidden = false;
|
mIsSearchBarHidden = false;
|
||||||
@@ -159,7 +159,7 @@ public class SearchDropTargetBar extends FrameLayout implements DragController.D
|
|||||||
if (mEnableDropDownDropTargets) {
|
if (mEnableDropDownDropTargets) {
|
||||||
mQSBSearchBar.setTranslationY(-mBarHeight);
|
mQSBSearchBar.setTranslationY(-mBarHeight);
|
||||||
} else {
|
} else {
|
||||||
mDropTargetBar.setAlpha(0f);
|
mQSBSearchBar.setAlpha(0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mIsSearchBarHidden = true;
|
mIsSearchBarHidden = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user