Skip to content

Add support for density pixels (DP) on Android #452

@tuliomagalhaes

Description

@tuliomagalhaes

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions