Loading packages/SystemUI/src/com/android/systemui/qs/PageIndicator.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -122,6 +122,7 @@ public class PageIndicator extends ViewGroup { ImageView second = (ImageView) getChildAt(secondIndex); ImageView second = (ImageView) getChildAt(secondIndex); if (first == null || second == null) { if (first == null || second == null) { // may happen during reInflation or other weird cases // may happen during reInflation or other weird cases return; } } // Lay the two views on top of each other. // Lay the two views on top of each other. second.setTranslationX(first.getX() - second.getX()); second.setTranslationX(first.getX() - second.getX()); Loading Loading
packages/SystemUI/src/com/android/systemui/qs/PageIndicator.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -122,6 +122,7 @@ public class PageIndicator extends ViewGroup { ImageView second = (ImageView) getChildAt(secondIndex); ImageView second = (ImageView) getChildAt(secondIndex); if (first == null || second == null) { if (first == null || second == null) { // may happen during reInflation or other weird cases // may happen during reInflation or other weird cases return; } } // Lay the two views on top of each other. // Lay the two views on top of each other. second.setTranslationX(first.getX() - second.getX()); second.setTranslationX(first.getX() - second.getX()); Loading