Trigger re-inflation when configuration changed
We re-inflate the layout when font or display size are scaled and do follow fixes: 1. Listen to CONFIG_FONT_SCALE and CONFIG_DENSITY for layout re-inflaction. 2. Remove the configurations of image button and Done button paddings, and set the size of icons and center the text directly so the contents instead of the paddings inside the button will scale up when we increase the display size. 3. Reconstruct the layout to guarantee all components will stay in the settings panel without being cut. Bug: 257272333 Test: manual - attach videos with the bug Change-Id: Id3f120dbdd1afb3863a85f105059beee1ec460da Merged-In: Id3f120dbdd1afb3863a85f105059beee1ec460da
Loading
Please register or sign in to comment