The screen adaptation framework AndroidAutoSize is optimized according to today's headline screen adaptation scheme. AndroidAutoSize is very simple to use, just need to fill in the design drawing size step to access the project. Using dp, sp as the unit for layout, the least invasive, will affect the layout of other three-party library pages, three-party library controls and system controls, but AndroidAutoSize also uses ExternalAdaptManager to achieve the situation without modifying the three-party library source code. The function of adapting the three-party library. Use pt, in, mm as the unit for layout, high intrusion, better support for old projects, will not affect the layout of other three-party library pages, three-party library controls and system controls, can completely shield the modification caused by the density All unknown and known issues, but AndroidAutoSize will not be able to adapt the three-party library.
Features
- The design dimensions filled in AndroidManifest.xml are the global design dimensions of the entire project
- Customize the adaptation parameters of the Activity
- Customize the adaptation parameters of the Fragment
- You can choose one of the three unpopular units of pt, in, mm as the subunits
- The subunits is used to avoid the adverse effects caused by modifying DisplayMetrics#density
- The screen adaptation framework AndroidAutoSize is optimized according to today's headline screen adaptation scheme