David Trainor- moved to gerrit
2017/03/21 16:30:02
Just curious, do we use a checkerboard for anythin
Just curious, do we use a checkerboard for anything else on Android (aside from
rendering)?
We should be able to do this without an actual bitmap. Can we just define a
custom drawable that does the checkerboard?
JJ
2017/03/22 23:35:31
Oooooo! This is interesting. So there is a way to
On 2017/03/21 16:30:02, David Trainor-ping if over 24h wrote:
> Just curious, do we use a checkerboard for anything else on Android (aside
from
> rendering)?
>
> We should be able to do this without an actual bitmap. Can we just define a
> custom drawable that does the checkerboard?
Oooooo! This is interesting. So there is a way to do it but it's complicated. We
create a layerlist for the 4 squares. Convert this to a bitmap, then to a bitmap
drawable then have that bitmap drawable repeat constantly. So it's more of a
question of a tradeoff question more than anything.
However! I've done it and I want to get your opinion on it. Take a look at
CustomContextMenuDialog.
Issue 2751333006: Create the base Custom Context Menu Dialog.
(Closed)
Created 3 years, 9 months ago by JJ
Modified 3 years, 8 months ago
Reviewers: Ted C, David Trainor- moved to gerrit, Steven Holte
Base URL:
Comments: 151