-
-
Notifications
You must be signed in to change notification settings - Fork 401
Add support for density pixels (DP) on Android #452
Copy link
Copy link
Closed
Labels
Status: Pending TestThis PR or Issue requires more testingThis PR or Issue requires more testingType: EnhancementNew feature or requestNew feature or request
Description
Priority
Enhancement
Area
- Data
- Source
- Docker
- Other
What is missing?
I'm opening this discussion to get some ideas on how we can transform pixels into density pixels while declaring our UI on .otui files.
What is density pixels:
Density pixels is an easy way to create unique UIs instead having to support different screen sizes as it is adaptative UI. For example if we declare 20px in one device, it can be bigger or smaller depending of the screen density of the device. But if we transform this same 20px into density pixels, the size of this component should be the same in different device sizes.
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: Pending TestThis PR or Issue requires more testingThis PR or Issue requires more testingType: EnhancementNew feature or requestNew feature or request