Skip to content
Commit a2c24a98 authored by chihtinglo's avatar chihtinglo Committed by Candice Lo
Browse files

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
parent 529d82eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment