ladingwu/dimens_sw
Android UI适配方案 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3003
- days_rel: n/a
- days_push: 2641
- n_releases_24m: 0
Adoption not part of the score
1748 stars · 387 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An Android screen adaptation solution based on the smallestWidth (sw) qualifier. It generates dimens resource files for various screen widths from a design draft size via a Java generator.
Use cases
- adapt android ui to different screen sizes
- generate dimens files from design draft width
- smallest width based screen adaptation
- make android layout fit multiple devices
- convert design px to dp for android screens
When to choose
- you need a simple sw-based dimens generation approach for Android
- your design draft has a fixed width and you want matching dimens values
When to avoid
- you prefer modern approaches like Jetpack Compose or ConstraintLayout percent-based layouts
- you need an actively maintained solution with recent updates
Facets
library · maturity maintenance
ui-components developer-tools mobile-development android-tools cross-platform jvm screen-adaptation smallest-width dimens-generator ui-fit android-screen-adapter code-generation android
1 source
- readme: https://github.com/ladingwu/dimens_sw · fetched 2026-08-28 · d461fde61154
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ladingwu/dimens_sw | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ladingwu/dimens_sw")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem