# hongyangAndroid/android-percent-support-extend

a extends lib for android-percent-support(Google百分比布局库的扩展)

Repository: https://github.com/hongyangAndroid/android-percent-support-extend
Canonical: https://ross.abutalabs.com/products/android-percent-support-extend
Homepage: http://blog.csdn.net/lmj623565791/article/details/46767825
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2018-04-09T05:45:49+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4082, "days_push": 3068, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1791, forks 502 (observed 2026-08-28T04:05:37.055226+00:00)

## What it is
An extension library for Google's Android percent support layout library, adding PercentLinearLayout plus percentage-based sizing for width, height, margin, padding, min/max dimensions, and text size. It lets developers reference screen width or height explicitly (e.g. 50%w) when defining view dimensions.

## Use cases
- make views sized as a percentage of screen width or height
- create square views using percentage dimensions
- set margins and padding proportionally in Android layouts
- scale TextView text size with screen percentage
- use percent layouts inside a ScrollView
- adapt Android UI across different screen sizes

## When to choose
- maintaining a legacy Android project already using the percent support library
- you need PercentLinearLayout or percentage-based padding, min/max, or textSize that the official library lacks
- targeting old Android versions where percent layouts were the adaptation approach

## When to avoid
- starting a new Android project - use ConstraintLayout with guideline/percent dimensions instead
- you need actively maintained or updated dependencies
- targeting modern Android development with Jetpack Compose

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, mobile-framework
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: percent-layout, android-layout, screen-adaptation, deprecated-android-percent-support, ui-library, android, mobile

## Member repositories
- hongyangAndroid/android-percent-support-extend (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.055226+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:05.153746+00:00, confidence not recorded.
  - readme: https://github.com/hongyangAndroid/android-percent-support-extend (fetched 2026-08-28T04:05:37.055226+00:00, sha 69a9aa61b3e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
