{ "id": "176262", "key": "TIMOB-28512", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "sprint": { "id": 1231, "state": "active", "name": "2021 Sprint 21", "startDate": "2021-10-07T16:05:18.981Z", "endDate": "2021-10-21T16:05:00.000Z", "originBoardId": 219 }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21249", "name": "Release 10.2.0", "archived": false, "released": false } ], "resolution": null, "resolutiondate": null, "created": "2021-07-28T19:15:22.000+0000", "epic": { "id": 176213, "key": "TIMOB-28470", "name": "Android 12: Implement Support", "summary": "Android 12: Implement Support", "color": { "key": "color_9" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [ "android", "material-theme", "theme" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-10-07T16:04:18.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\nAndroid 12 has a new feature named \"Material You\" where setting the wallpaper will change the color theme of the system and it's expected for apps to change there color theme as well.\r\nhttps://material.io/blog/announcing-material-you\r\n\r\n*To be investigated:*\r\nGoogle hasn't released details on how exactly app developers can support this yet. Nor have they updated their material components libraries to support it either. Currently, all apps hard-code the colors in their themes (including Google's own material themes). In order to support changeable system color, we can't hard-code colors in the theme on Android 12 anymore.\r\n\r\nI suspect we'll have to define colors under a {{res/values-31}} folder which uses the new Android 12 \"system accent\" color constants.\r\nhttps://developer.android.com/reference/android/R.color#system_accent1_0\r\n\r\nI also suspect that we should ignore dark/night-mode on Android 12 in our theme. Our theme colors must still be defined by the system... and if the system defines different colors for dark/light mode, then we'll end up getting support for this for free when switching to system accent colors.\r\n\r\nThis is also speculation until Google officially reveals how this will work for developers.\r\n", "attachment": [ { "id": "67965", "filename": "MaterialYou.gif", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-08-17T06:13:12.000+0000", "size": 1386819, "mimeType": "image/gif" } ], "flagged": false, "summary": "Android: Investigate \"Material You\" theme support on Android 12", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }