LetterTileDrawable allows custom letter and color.

For special icons that use the same style as avatars

+ LetterTileDrawable store and draw the color and letter, instead
  of display name and identifier.
+ Added setColor() and setLetter() to customize the coloer and letter.
+ setContactDetails() renamed to setLetterAndColorFromContactDetails(),
  and set the color and letter accordingly.
+ Added method chaining for setters.
+ Fixed letter vertical alingment.

Bug:25455707
Change-Id: Ic6d6bab3bf1808d37b55fde5ecef2c63dbac8cda
2 files changed
tree: 1cabe9ebbc9431f54e4a30ee96e27f7dca65f1e7
  1. src/
  2. TestCommon/
  3. tests/