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-mdpi/ic_contact_info.png | Bin 598 -> 0 bytes res/drawable-mdpi/ic_star_marked_as_fav.png | Bin 964 -> 0 bytes res/drawable-mdpi/overflow_thumbnail.png | Bin 0 -> 692 bytes res/drawable-mdpi/star_thumbnail.png | Bin 0 -> 946 bytes 4 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 res/drawable-mdpi/ic_contact_info.png delete mode 100644 res/drawable-mdpi/ic_star_marked_as_fav.png create mode 100644 res/drawable-mdpi/overflow_thumbnail.png create mode 100644 res/drawable-mdpi/star_thumbnail.png (limited to 'res/drawable-mdpi') diff --git a/res/drawable-mdpi/ic_contact_info.png b/res/drawable-mdpi/ic_contact_info.png deleted file mode 100644 index 5d35ec579..000000000 Binary files a/res/drawable-mdpi/ic_contact_info.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_star_marked_as_fav.png b/res/drawable-mdpi/ic_star_marked_as_fav.png deleted file mode 100644 index ee1b5ec1c..000000000 Binary files a/res/drawable-mdpi/ic_star_marked_as_fav.png and /dev/null differ diff --git a/res/drawable-mdpi/overflow_thumbnail.png b/res/drawable-mdpi/overflow_thumbnail.png new file mode 100644 index 000000000..c69937428 Binary files /dev/null and b/res/drawable-mdpi/overflow_thumbnail.png differ diff --git a/res/drawable-mdpi/star_thumbnail.png b/res/drawable-mdpi/star_thumbnail.png new file mode 100644 index 000000000..7b96272cf Binary files /dev/null and b/res/drawable-mdpi/star_thumbnail.png differ -- cgit v1.2.3