summaryrefslogtreecommitdiffstats
path: root/res/layout/folder_icon.xml
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2016-02-24 19:19:06 -0800
committerAdam Cohen <adamcohen@google.com>2016-03-03 09:24:45 -0800
commitefca0279eb927faebffc38c8382818df67fcd159 (patch)
tree15ede9a36767c9d04a47e355edc5550b25dfb36c /res/layout/folder_icon.xml
parent992a5f566e7f1b1fc8bd766f1fd00bee7ea2a634 (diff)
downloadandroid_packages_apps_Trebuchet-efca0279eb927faebffc38c8382818df67fcd159.tar.gz
android_packages_apps_Trebuchet-efca0279eb927faebffc38c8382818df67fcd159.tar.bz2
android_packages_apps_Trebuchet-efca0279eb927faebffc38c8382818df67fcd159.zip
Switch all folder preview rendering to be programmatic (ie. no assets)
-> Refactored the preview background rendering to be much more self-contained. This cleans up a lot of code in the CellLayout, and keeps the logic in the right place. -> We switch to software rendering for performance and compatibility reasons. -> Removed all assets. -> FolderIcon accept animation includes animation of the clipped region. -> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon and the CellLayout. Unfortunately, CellLayout rendering is still required to work around clipping issues (due to use of software layer). We also need this to support folder creation feedback. Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51
Diffstat (limited to 'res/layout/folder_icon.xml')
-rw-r--r--res/layout/folder_icon.xml7
1 files changed, 0 insertions, 7 deletions
diff --git a/res/layout/folder_icon.xml b/res/layout/folder_icon.xml
index b8d5c608b..9eb8c9a67 100644
--- a/res/layout/folder_icon.xml
+++ b/res/layout/folder_icon.xml
@@ -20,13 +20,6 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:focusable="true" >
- <ImageView
- android:id="@+id/preview_background"
- android:layout_gravity="center_horizontal"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:antialias="true"
- android:src="@drawable/portal_ring_inner"/>
<com.android.launcher3.BubbleTextView
style="@style/Icon"
android:id="@+id/folder_icon_name"