-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[resources] Update resource filtering and add density-based lookup
The ResourceEnvironment class has been updated to include a filter by density. Now, resources are selected based on the screen size qualifiers, with the system defaulting to resources designed for a smaller screen if there are no better matches. Corresponding methods have also been enhanced and a test for image resource density has been added to verify the implemented changes.
- Loading branch information
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters