Use INVISIBLE instead of GONE to hide KG transport buttons
Maintain a stable/predictable button layout when a remote control client shows or hides specific transport control buttons. Bug 11195246 Change-Id: I0e745150127c5e354ed2752c379e05ea8e0bd33d
This commit is contained in:
@ -511,7 +511,7 @@ public class KeyguardTransportControlView extends FrameLayout {
|
|||||||
if ((flags & flag) != 0) {
|
if ((flags & flag) != 0) {
|
||||||
view.setVisibility(View.VISIBLE);
|
view.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
view.setVisibility(View.GONE);
|
view.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user