summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AppDrawerListAdapter.java
diff options
context:
space:
mode:
authorHayden Schoen <hayden@cyngn.com>2015-04-02 14:04:28 -0700
committerLinus Lee <llee@cyngn.com>2015-04-02 21:51:37 +0000
commit4c38ea9a1796dd55bd017a1742b3e95c4e583e84 (patch)
tree5fac03f2744b73f32f8433a9d689b21b64620a2f /src/com/android/launcher3/AppDrawerListAdapter.java
parente002b691b3233629598c77ef50f1ef91eb1877f0 (diff)
downloadandroid_packages_apps_Trebuchet-4c38ea9a1796dd55bd017a1742b3e95c4e583e84.tar.gz
android_packages_apps_Trebuchet-4c38ea9a1796dd55bd017a1742b3e95c4e583e84.tar.bz2
android_packages_apps_Trebuchet-4c38ea9a1796dd55bd017a1742b3e95c4e583e84.zip
AppDrawer: tweak animations and layout
Change-Id: If9d788b25fbabf21bd4d9d35b0dd82ddcca180f8
Diffstat (limited to 'src/com/android/launcher3/AppDrawerListAdapter.java')
-rw-r--r--src/com/android/launcher3/AppDrawerListAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/AppDrawerListAdapter.java b/src/com/android/launcher3/AppDrawerListAdapter.java
index ea3243534..5a5e6cb9f 100644
--- a/src/com/android/launcher3/AppDrawerListAdapter.java
+++ b/src/com/android/launcher3/AppDrawerListAdapter.java
@@ -138,7 +138,7 @@ public class AppDrawerListAdapter extends RecyclerView.Adapter<AppDrawerListAdap
public void onLayoutChange(View v, int left, int top, int right, int bottom,
int oldLeft, int oldTop, int oldRight, int oldBottom) {
// set the pivot of the text view
- v.setPivotX(0);
+ v.setPivotX(v.getMeasuredWidth() / 4);
v.setPivotY(v.getMeasuredHeight() / 2);
}
};