Build: App Size Optimization Demo
This screen demonstrates simple techniques to reduce app size by removing unused resources and enabling code shrinking.
Target UI
------------------------- | App Size Optimization | |-----------------------| | [Optimize Button] | | | | Status: Ready | -------------------------
Add a button labeled 'Optimize' that simulates app size optimization.
Display a status text below the button showing 'Ready' initially.
When the button is clicked, update the status text to 'Optimization Complete'.
Use ProGuard/R8 configuration to enable code shrinking and resource shrinking in build.gradle.
Remove unused drawable resource from the project (simulate by not referencing it).