Skip to content

Releases: bodenberg/appdimens-sdps

3.1.5

16 May 01:29

Choose a tag to compare

Add aspect-ratio

3.1.2

06 Apr 01:40

Choose a tag to compare

📢 Important Update

Specific ProGuard rules have been added to the project.

🔧 What’s Changed?

  • Added new configuration rules to ProGuard
  • Adjustments to ensure:
    • Better code obfuscation
    • Preservation of required classes and methods
    • Prevention of runtime errors

✅ Why This Matters

These rules help to:

  • Protect the code against reverse engineering
  • Improve application security
  • Ensure compatibility with used libraries

📌 Note

Make sure to sync the project and validate functionality after this update.


🚀 If you have any questions, review the ProGuard configuration file (proguard-rules.pro)

3.1.0

22 Mar 09:54

Choose a tag to compare

Updates

  • Added extensions for pixel return.

3.0.9.1

18 Mar 03:45

Choose a tag to compare

Documentation Update

In this new version of the project, significant improvements have been made to the comments and code descriptions.

Main changes:

  • Comments revised for greater clarity and objectivity
  • More detailed descriptions of functionalities

These improvements aim to make the project easier to understand, maintain.

3.0.9

15 Mar 18:23

Choose a tag to compare

Improvement in Extensions:

  • New option added: It is now possible to not recalculate the gross DPs in extensions ending with Plain, if the required conditions are not met.

Details of the Improvement:

  • For extensions ending in Plain, the gross DPs will not be recalculated if the necessary conditions are not met.

    Example of Behavior:

    • Before: The calculation of gross DPs was performed regardless of the conditions.
    • Now: The recalculation of gross DPs occurs only when the conditions are met.

Benefits of this Change:

  • Efficiency: Avoids unnecessary calculations, saving resources.
  • Control: Provides greater control over when the gross DPs should be recalculated.

3.0.8

15 Mar 14:05

Choose a tag to compare

Added support for SSP and TextUnit.

3.0.7

13 Mar 01:43
50a86a3

Choose a tag to compare

✨ What's New in Version 3.x.x

Feature Description
Code-Level API Full DimenSdp object for Java & Kotlin — resolve dimensions outside of XML and Compose
Inverter Shortcuts .sdpPh, .sdpLw, .sdpLh, .sdpPw, .hdpLw, .hdpPw, .wdpLh, .wdpPh — orientation-aware switching
Facilitators sdpRotate, sdpMode, sdpQualifier, sdpScreen (+ hdp/wdp variants) — quick conditional overrides
DimenScaled Builder Priority-based chain with UiModeType, DpQualifier, Orientation, and Inverter support
Foldable Detection FoldingFeature integration via Jetpack WindowManager — detects Fold/Flip open/half-open states
UiModeType NORMAL, TELEVISION, CAR, WATCH, FOLD_OPEN, FOLD_HALF, FLIP_OPEN, FLIP_HALF
Physical Units DimenPhysicalUnits — convert mm, cm, inches to Dp/Px
File Structure Modular files: DimenSdp (core), DimenExtensions (facilitators), DimenScaled (builder)

3.0.6

10 Mar 23:01

Choose a tag to compare

Update README.md

3.0.5

10 Mar 06:32
35b0245

Choose a tag to compare

Update dependency version in README

3.0.4

10 Mar 05:50
b502b39

Choose a tag to compare

Add support flip and fold devices