Fixed a rebase gone wrong with pageindicator

The return statement was lost.

Change-Id: Ica403337bf9dce2c0b1c2447a0aa4359f991ac0d
Fixes: 27927374
This commit is contained in:
Selim Cinek
2016-04-19 09:47:20 -07:00
parent 0529197e9d
commit 20e84c750f

View File

@@ -122,6 +122,7 @@ public class PageIndicator extends ViewGroup {
ImageView second = (ImageView) getChildAt(secondIndex);
if (first == null || second == null) {
// may happen during reInflation or other weird cases
return;
}
// Lay the two views on top of each other.
second.setTranslationX(first.getX() - second.getX());