Skip to content
Commit 2f4e8e92 authored by Bryce Lee's avatar Bryce Lee
Browse files

Handle overlay edge spacing within individual complications layouts.

This change accounts for spacing from the layout edge in each
complication, rather than using the ViewGroup's padding setting. This
change resolves clipping during transitions due to an interaction
between the ViewGroup padding and alpha/translation animations.

This spacing calculated in margin calculation, now spread across each
logical complication container. The directional group applies margins
between each complication, while the position group applies margins
from the layout's edge.

Test: atest ComplicationLayoutEngineTest
Fixes: 280595239
Change-Id: Ibe4ba52b970337671fec0c0878e2686b5bac8fa2
parent 379ef492
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