Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 922b1a2d authored by chihtinglo's avatar chihtinglo
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
parent facb94cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment