awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
hongyangAndroid avatar

hongyangAndroid/AndroidAutoLayout

0
View on GitHub↗

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
blog.csdn.net/lmj623565791/article/details/49990941↗

AndroidAutoLayout

AndroidAutoLayout is an Android library that converts pixel values from design mockups into percentage-based layouts, enabling consistent scaling across different screen resolutions. At its core, it functions as a pixel-to-percentage converter and screen resolution scaling tool, allowing developers to design layouts using exact pixel dimensions from mockups and have them automatically adapt to any target device.

The library provides several distinctive approaches to screen adaptation. It can generate resolution-specific dimension resource files from a single baseline design, eliminating manual calculations for multiple screen sizes. It also supports per-view dimension overrides, where a view's height or width can be forced to scale relative to the opposite screen dimension for equal physical sizes across devices. For scrolling lists, it automatically sizes RecyclerView and ListView items by converting pixel dimensions to percentage-based values. Custom views can be extended with auto-layout logic so their children also support pixel-based sizing, and existing view hierarchies can be wrapped with auto-layout through a single utility method call.

The library covers percentage-based layout design, where view dimensions are defined as fractions of screen width and height to maintain proportional sizing across diverse device resolutions. It also provides accurate layout previewing by selecting a preview device that matches the mockup's resolution. The documentation and installation surface includes the ability to generate dimension resource files for each target screen resolution from a single baseline file.

Features

  • Screen Adaptation Utilities - Converts pixel values from design mockups into percentage-based layouts for consistent scaling across Android screen resolutions.
  • Pixel Analysis - Accepts pixel dimensions directly from design mockups and scales them automatically across different screen resolutions.
  • Pixel-to-Relative - Converts design mockup pixel values into percentage-based layout dimensions at compile time for proportional scaling.
  • Pixel-to-Percentage Converters - Converts fixed pixel measurements from design mockups into percentage values that adapt to any target screen resolution.
6,684 stars·1,889 forks·Java·apache-2.0·20 views
  • Percentage-Based Screen Layouts - Defines view dimensions as fractions of screen width and height for proportional scaling across devices.
  • Auto-Layout Libraries - Converts pixel values from design mockups into percentage-based layouts for consistent scaling across screen resolutions.
  • Layout Scaling Utilities - Scales view dimensions proportionally across different screen sizes using percentage-based calculations from a reference design.
  • Android Auto-Layout Extensions - Provides a mechanism to extend any custom Android view with automatic pixel-to-percentage layout conversion.
  • Android Auto-Layout Injectors - Wraps existing view hierarchies with auto-layout logic through a single utility method call for pixel-based sizing.
  • Screen Percentage Layouts - Defines view dimensions as fractions of screen width and height for proportional sizing across diverse device resolutions.
  • Auto-Layout Custom View Extensions - Adds automatic pixel-to-percentage conversion to any custom view by overriding its layout parameter generation.
  • Screen Percentage Sizing - Defines view dimensions as fractions of screen width and height for proportional sizing across device resolutions.
  • Resolution-Specific Generation - Generates resolution-specific dimension resource files from a single baseline design for multiple screen sizes.
  • Android Dimension Resource Generators - Generates resolution-specific dimension resource files from a single baseline design for multiple screen sizes.
  • Android Dimension Resource Generators - Generates dimension resource files for each target screen resolution from a single baseline file.
  • Custom View Wrappers - Wraps custom views with auto-layout logic so their children support pixel-based sizing and screen scaling.
  • List Item Sizers - Automatically sizes RecyclerView and ListView items by converting pixel dimensions to percentage-based values.
  • Auto-Sized List Items - Converts pixel values to percentages for item views inside scrolling lists with a single utility call.
  • RecyclerView Item Auto-Sizing - Automatically sizes RecyclerView and ListView items by converting pixel dimensions to percentage-based values.
  • Auto-Sized List Items - Scales individual items inside scrolling lists by applying automatic pixel conversion to each inflated view.
  • Resolution Resource Generators - Creates resolution-specific dimension resource files from a single baseline design, eliminating manual calculations.
  • Dimension Reference Overrides - Ships per-view dimension overrides that force scaling relative to the opposite screen dimension for consistent physical sizes.
  • Auto-Sized List Items - Scales individual item views inside scrolling lists automatically with a single utility call.
  • Dimension Reference Overrides - Forces a layout dimension to scale relative to screen width or height instead of its default reference axis.
  • Layout Managers - Screen adaptation solution.
  • Star history

    Star history chart for hongyangandroid/androidautolayoutStar history chart for hongyangandroid/androidautolayout

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does hongyangandroid/androidautolayout do?

    AndroidAutoLayout is an Android library that converts pixel values from design mockups into percentage-based layouts, enabling consistent scaling across different screen resolutions. At its core, it functions as a pixel-to-percentage converter and screen resolution scaling tool, allowing developers to design layouts using exact pixel dimensions from mockups and have them automatically adapt to any target device.

    What are the main features of hongyangandroid/androidautolayout?

    The main features of hongyangandroid/androidautolayout are: Screen Adaptation Utilities, Pixel Analysis, Pixel-to-Relative, Pixel-to-Percentage Converters, Percentage-Based Screen Layouts, Auto-Layout Libraries, Layout Scaling Utilities, Android Auto-Layout Extensions.

    Which projects share features with hongyangandroid/androidautolayout?

    Projects with overlapping indexed features include: jessyancoding/androidautosize — AndroidAutoSize is a screen adaptation library for Android that automatically scales layout dimensions and view sizes… dhg/skeleton — Skeleton is a lightweight responsive CSS boilerplate and mobile-first framework. It provides a foundation for building… asweigart/pyautogui — PyAutoGUI is a Python GUI automation library and desktop automation framework. It provides a set of tools for… metafizzy/packery — Packery is a JavaScript bin-packing grid layout engine and DOM element positioning library. It arranges elements of… openflutter/flutter_screenutil — flutter_screenutil is a responsive UI framework and adaptive layout tool for Flutter. It provides a system for scaling… talelin/lin-ui — Lin-ui is a component library and development toolkit designed specifically for creating WeChat Mini Program…

    Projects sharing features with AndroidAutoLayout

    These projects share indexed features with AndroidAutoLayout. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • jessyancoding/androidautosizeJessYanCoding avatar

      JessYanCoding/AndroidAutoSize

      13,731View on GitHub↗

      AndroidAutoSize is a screen adaptation library for Android that automatically scales layout dimensions and view sizes across different screen resolutions. It functions as an automatic layout scaler and view dimension manager, ensuring that user interface proportions remain consistent by referencing a base design dimension. The library allows developers to define screen measurements using alternative units such as millimeters, inches, or points instead of standard density-independent pixels. It includes capabilities for custom dimension overrides, enabling the scaling process to be disabled or

      Javaadapterviewandroidarms
      View on GitHub↗13,731
    • dhg/skeletondhg avatar

      dhg/Skeleton

      19,410View on GitHub↗

      Skeleton is a lightweight responsive CSS boilerplate and mobile-first framework. It provides a foundation for building mobile-friendly websites through a fluid 12-column grid system, a minimal CSS reset library to normalize browser defaults, and default styling for raw HTML elements. The project emphasizes a mobile-first development approach, using percentage-based widths and predefined media queries to progressively enhance layouts for larger screens. It includes a utility-first library of single-purpose classes to manage common layout tasks such as floating elements, clearing, and width con

      CSS
      View on GitHub↗19,410
    • asweigart/pyautoguiasweigart avatar

      asweigart/pyautogui

      12,564View on GitHub↗

      PyAutoGUI is a Python GUI automation library and desktop automation framework. It provides a set of tools for programmatically controlling the mouse and keyboard to automate user interface interactions across different operating systems. The project functions as a cross-platform input simulator and computer vision screen scanner. It enables the simulation of keystrokes and cursor movements to perform repetitive tasks and utilizes screen analysis to locate specific images or pixel colors on the display. Its capability surface includes mouse and keyboard input simulation, screen image capture,

      Python
      View on GitHub↗12,564
    • metafizzy/packerymetafizzy avatar

      metafizzy/packery

      4,317View on GitHub↗

      Packery is a JavaScript bin-packing grid layout engine and DOM element positioning library. It arranges elements of varying sizes into a gapless, compact grid by calculating and applying absolute coordinates to HTML elements to prevent overlapping. The library enables the creation of draggable grid interfaces, allowing users to rearrange elements via drag-and-drop while the system automatically reflows the remaining items. It maintains stable, responsive layouts across different screen dimensions by using a percentage-based positioning system and responding to window resize events. The tool

      JavaScript
      View on GitHub↗4,317
    Compare all 30 related projects→