Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94138603 authored by Peter Schiller's avatar Peter Schiller
Browse files

Account for RTL with search animation

Change-Id: I869c285e7c0e7a3d14c1a897330d04b794390c76
parent a30b51ce
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -329,7 +329,11 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
                        searchInputAnimator.end();
                        searchInputAnimator.end();
                    }
                    }


                    if (Utilities.isRtl(getContext().getResources())) {
                        searchInputAnimator.setFloatValues(-searchHint.getLeft(), 0);
                    } else {
                        searchInputAnimator.setFloatValues(searchHint.getLeft(), 0);
                        searchInputAnimator.setFloatValues(searchHint.getLeft(), 0);
                    }
                    searchInputAnimator.start();
                    searchInputAnimator.start();
                } else {
                } else {
                    searchHint.setVisibility(View.VISIBLE);
                    searchHint.setVisibility(View.VISIBLE);