Граф коммитов

56 Коммитов

Автор SHA1 Сообщение Дата
Emily Lynam 329a0c3e72 Merged PR 169504: Avatar initial bits via Outlook
- AvatarView draws Avatar with initials via `setInfo` and loads Avatar with image via four overridden public methods, this view replaces AvatarDrawable and RoundedDrawable from Outlook
- I replaced Outlook's RoundedDrawble with android's RoundedBitmapDrawable, but we can easily switch back if we run into compat problems
- `setImageDrawable` intercepts calls from Glide and Picasso to set the rounded drawable, the other three methods give flexibility for setting the image on AvatarView in all the other built in ways. Added examples of most of these in the demo.
- InitialsDrawable and ThemeUtil logic is pretty much straight from Outlook. We need the ThemeUtil for setting initials backgroundcolor
- I changed the API level in gradle from 28 to 27 because 28 is still a bit buggy

![Screenshot_1535668084.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/32fa6338-45ea-42a0-aca0-484938e1962a/pullRequests/169504/attachments/Screenshot_1535668084.png)

Related work items: #617650
2018-08-31 17:53:27 +00:00
Vladislav Filyakov 8d3894cf16 Button: Added design-time support 2018-07-12 14:04:31 -07:00
Vladislav Filyakov 51e3c1c902 Changed layout to master-detail 2018-07-11 17:14:06 -07:00
Vladislav Filyakov 4fe480dfb8 Added initial Button class 2018-07-05 16:51:30 -07:00
Vladislav Filyakov b18c451ce0 Removed tests from Demo 2018-07-05 11:41:48 -07:00
Vladislav Filyakov ba798665fd Initial commit 2018-07-05 10:56:48 -07:00