Fixing various small bugs with launcher
- Items added from customization tray add from top left now - Fixing issue where wallpaper tab was not showing - Workaround for the extra pixel line showing in homescreen drag icons - Speeding up animations for tab transitions and clicking Change-Id: I865531bb4cf896320a9e2ff6cef08bed221a2294
This commit is contained in:
@@ -76,7 +76,8 @@ public class AllAppsTabbed extends TabHost implements AllAppsView {
|
||||
setOnTabChangedListener(new OnTabChangeListener() {
|
||||
public void onTabChanged(String tabId) {
|
||||
// animate the changing of the tab content by fading pages in and out
|
||||
final int duration = 150;
|
||||
final Resources res = getResources();
|
||||
final int duration = res.getInteger(R.integer.config_tabTransitionTime);
|
||||
final float alpha = mAllApps.getAlpha();
|
||||
ValueAnimator alphaAnim = ObjectAnimator.ofFloat(mAllApps, "alpha", alpha, 0.0f).
|
||||
setDuration(duration);
|
||||
|
||||
Reference in New Issue
Block a user