From 765734c1d602c9a6d166d653b3684e6408b771c4 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Mon, 10 Feb 2014 16:09:12 -0800 Subject: Switch favorites screen to grid layout * Add logic to PhoneFavoritesTileAdapter so that it now supports an unlimited number of tiled rows. * Tiles now have a configurable height to width ratio. * Fix animations so that tiles moving up and down rows appear to animate in from the correct direction. Tiles moving to the row above should animate in from right to left. Tiles moving to the row below should animate in from left to right. * Update the number of columns in the grid to 2. * Update layout of individual tiles to match redlines from UX. * Tweak font sizes for tiles * No longer truncate names in tiles * Tiles have a 2-3 height to width ratio * Update assets and layout for favorite and more info icons * Add content description for the favorite button * Add tests for PhoneFavoritesTileAdapter Change-Id: I50b298f0941698985d281f13e6a87c5a9b613efa --- res/drawable-xxhdpi/ic_contact_info.png | Bin 1951 -> 0 bytes res/drawable-xxhdpi/ic_star_marked_as_fav.png | Bin 2338 -> 0 bytes res/drawable-xxhdpi/overflow_thumbnail.png | Bin 0 -> 4576 bytes res/drawable-xxhdpi/star_thumbnail.png | Bin 0 -> 5999 bytes 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 res/drawable-xxhdpi/ic_contact_info.png delete mode 100644 res/drawable-xxhdpi/ic_star_marked_as_fav.png create mode 100644 res/drawable-xxhdpi/overflow_thumbnail.png create mode 100644 res/drawable-xxhdpi/star_thumbnail.png (limited to 'res/drawable-xxhdpi') diff --git a/res/drawable-xxhdpi/ic_contact_info.png b/res/drawable-xxhdpi/ic_contact_info.png deleted file mode 100644 index e5d2939cd..000000000 Binary files a/res/drawable-xxhdpi/ic_contact_info.png and /dev/null differ diff --git a/res/drawable-xxhdpi/ic_star_marked_as_fav.png b/res/drawable-xxhdpi/ic_star_marked_as_fav.png deleted file mode 100644 index 3eeff4c05..000000000 Binary files a/res/drawable-xxhdpi/ic_star_marked_as_fav.png and /dev/null differ diff --git a/res/drawable-xxhdpi/overflow_thumbnail.png b/res/drawable-xxhdpi/overflow_thumbnail.png new file mode 100644 index 000000000..7f3f73386 Binary files /dev/null and b/res/drawable-xxhdpi/overflow_thumbnail.png differ diff --git a/res/drawable-xxhdpi/star_thumbnail.png b/res/drawable-xxhdpi/star_thumbnail.png new file mode 100644 index 000000000..5f13fec1d Binary files /dev/null and b/res/drawable-xxhdpi/star_thumbnail.png differ -- cgit v1.2.3