Merge "Use stable layouts for keyguard/SlidingChallengeLayout" into jb-mr1-lockscreen-dev

This commit is contained in:
Adam Powell
2012-11-07 18:31:45 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ public class MultiPaneChallengeLayout extends ViewGroup implements ChallengeLayo
final Resources res = getResources();
mDisplayMetrics = res.getDisplayMetrics();
setSystemUiVisibility(SYSTEM_UI_FLAG_LAYOUT_STABLE);
}
@Override

View File

@@ -260,6 +260,7 @@ public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout
mChallengeBottomBound = res.getDimensionPixelSize(R.dimen.kg_widget_pager_bottom_padding);
setWillNotDraw(false);
setSystemUiVisibility(SYSTEM_UI_FLAG_LAYOUT_STABLE);
}
public void setHandleAlpha(float alpha) {