mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Account for RTL with search animation
Change-Id: I869c285e7c0e7a3d14c1a897330d04b794390c76
This commit is contained in:
@@ -329,7 +329,11 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
|
||||
searchInputAnimator.end();
|
||||
}
|
||||
|
||||
searchInputAnimator.setFloatValues(searchHint.getLeft(), 0);
|
||||
if (Utilities.isRtl(getContext().getResources())) {
|
||||
searchInputAnimator.setFloatValues(-searchHint.getLeft(), 0);
|
||||
} else {
|
||||
searchInputAnimator.setFloatValues(searchHint.getLeft(), 0);
|
||||
}
|
||||
searchInputAnimator.start();
|
||||
} else {
|
||||
searchHint.setVisibility(View.VISIBLE);
|
||||
|
||||
Reference in New Issue
Block a user