Many developers recommend using dp (density independent pixels) measurements for UI elements in Android development. However, when creating a web application instead of an Android app, conforming to these standards can be challenging due to the limitations of CSS and HTML.
The feedback on my web application so far has been that it does not adhere to Android design standards. While I understand that it will look different from an app built with the Android Holo theme, I still want to make sure it aligns as closely as possible. Unfortunately, CSS does not support density-independent measurements like dp units in native Android development.
Testing my application on various resolutions and pixel densities has revealed that the design may appear distorted or non-functional at times. This inconsistency has raised questions about alternative methods to ensure a more uniform appearance across different devices.
One potential solution could involve using JavaScript to determine pixel density and manually scale the elements accordingly. By exploring such approaches, we may find better ways to create a web app that is visually appealing and functional regardless of resolution or pixel density.