Fixed a rebase gone wrong with pageindicator

am: 20e84c7

* commit '20e84c750f7ef783344f9890764906e20b0df822':
  Fixed a rebase gone wrong with pageindicator

Change-Id: I08bfc4b3c0cb3a8159645c7ff6d017daa8db6c9e
This commit is contained in:
Selim Cinek
2016-04-19 17:03:23 +00:00
committed by android-build-merger

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());