Dynamic Color Tile Update
Update wallpaper color tile preview mapping in revamped UI. Also adjusted to adapt to new requirement for color preview to be different between ligth and dark theme. Instead of providing color preview based on light or dark theme in the view model, which isn't aware of context changes, this CL refactors so that light and dark colors are both included in the view model and then binded based on the view's context. Colors in Original UI: https://screenshot.googleplex.com/paBb2pTDc3UrjS8.png Colors in Revamped UI Dark Theme: https://screenshot.googleplex.com/5RWjka3KkZZNHLE.png Colors in Revamped UI Light Theme: https://screenshot.googleplex.com/3ySrCMuuTzjEmPo.png Bug: 275625332 Test: Verified manually on both revamped and original UI, and verified that colors change when dark theme toggle is updated. Also made sure color picker interactor and view model tests still pass Change-Id: I4299aa5d4132646f1516599f9f7f77ce4d740a09
Loading
Please register or sign in to comment