diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-08-12 15:58:36 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-08-18 13:51:51 -0700 |
commit | dcbcc86353e9ed52daac87f292aece667cd0ac71 (patch) | |
tree | a0e1c4ca2ba2e9863a2168cbc4299b136cea2f30 /src/com/android/launcher3/AppsCustomizeCellLayout.java | |
parent | 0fc1be164e982433e619bcbb16aa67e28ff681ef (diff) | |
download | android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.tar.gz android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.tar.bz2 android_packages_apps_Trebuchet-dcbcc86353e9ed52daac87f292aece667cd0ac71.zip |
Updating the UI for focused state of an icon/folder.
issue: 16352129
Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
Diffstat (limited to 'src/com/android/launcher3/AppsCustomizeCellLayout.java')
-rw-r--r-- | src/com/android/launcher3/AppsCustomizeCellLayout.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/launcher3/AppsCustomizeCellLayout.java b/src/com/android/launcher3/AppsCustomizeCellLayout.java index 3c8bda9db..76b81d2d1 100644 --- a/src/com/android/launcher3/AppsCustomizeCellLayout.java +++ b/src/com/android/launcher3/AppsCustomizeCellLayout.java @@ -20,8 +20,16 @@ import android.content.Context; import android.view.View; public class AppsCustomizeCellLayout extends CellLayout implements Page { + + final FocusIndicatorView mFocusHandlerView; + public AppsCustomizeCellLayout(Context context) { super(context); + + mFocusHandlerView = new FocusIndicatorView(context); + addView(mFocusHandlerView, 0); + mFocusHandlerView.getLayoutParams().width = FocusIndicatorView.DEFAULT_LAYOUT_SIZE; + mFocusHandlerView.getLayoutParams().height = FocusIndicatorView.DEFAULT_LAYOUT_SIZE; } @Override |