summaryrefslogtreecommitdiffstats
path: root/res/layout/user_folder_icon_normalized.xml
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2016-02-05 14:47:50 -0800
committerAdam Cohen <adamcohen@google.com>2016-02-17 10:41:46 -0800
commit119e8982ab6a0cf00e31e8744f27b72ba8bf7b20 (patch)
tree6a9c238c1895223cd473e9ba30349b62c17a1509 /res/layout/user_folder_icon_normalized.xml
parentcc3a37dbb5f49c7efa3c24513c00f76574455adf (diff)
downloadandroid_packages_apps_Trebuchet-119e8982ab6a0cf00e31e8744f27b72ba8bf7b20.tar.gz
android_packages_apps_Trebuchet-119e8982ab6a0cf00e31e8744f27b72ba8bf7b20.tar.bz2
android_packages_apps_Trebuchet-119e8982ab6a0cf00e31e8744f27b72ba8bf7b20.zip
First pass at new FolderIcon visual treatment
-> Modeled as a set of items around a circle -> Modulate the radius and icon size as number of items grow -> Clip the icons by a circular clip aligned to the background drawable Remaining issues -> Probably want to move to a programmaticly drawn circle + shadow -> Anti-aliasing of the clipped region will need more attention -> Need to animate all items in the preview as it changes (this wasn't required before) Change-Id: I678ec605f6c8a34e9d7e4aec4e9583e36a9ef394
Diffstat (limited to 'res/layout/user_folder_icon_normalized.xml')
-rw-r--r--res/layout/user_folder_icon_normalized.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/layout/user_folder_icon_normalized.xml b/res/layout/user_folder_icon_normalized.xml
index 75b5c4839..d445a7ae3 100644
--- a/res/layout/user_folder_icon_normalized.xml
+++ b/res/layout/user_folder_icon_normalized.xml
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<com.android.launcher3.Folder xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.launcher3.folder.Folder xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -34,7 +34,7 @@
android:layout_width="20dp"
android:layout_height="20dp" />
- <com.android.launcher3.FolderPagedView
+ <com.android.launcher3.folder.FolderPagedView
android:id="@+id/folder_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -82,4 +82,4 @@
</LinearLayout>
-</com.android.launcher3.Folder>
+</com.android.launcher3.folder.Folder>