Update git submodules
* Update frameworks/support from branch 'androidx-main'
to 5812e1e3574ada0eba79012c7316b87d61ebd06a
- Merge changes from topics "pl_m3_avatar_button", "pl_m3_primarylayout_margin_updates" into androidx-main
* changes:
Add avatar button component
Allow customization of margins in primaryLayout
- Add avatar button component
This needs to be separate component (altought in Compose is not),
because the spec is very different. It is similar to graph card, meaning
that the elements inside of this button are spaced out proportionally to
the buttons width. Avatar content has certain size in % and in order for
button edge shape to "hug" it, side padding should also be %.
Percentages here are implemented as weights, as width depends on the
layout margins and placement of this button.
Fixes: 388851915
Test: Added
Relnote: "Added avatar buttong ProtoLayout Material3 component."
Change-Id: Idb5aea121b876a50b8e67970d279ff60eb863c3a
- Allow customization of margins in primaryLayout
We are providing predefined set of margins that are recommended to be
used and helper method to create custom once as percentages. They will
automatically sort out which values from the given bucket
(min/mid/max/default) to use, based on the presence of slots, that is
passed around via MaterialScope.
This also update values per updated spec.
Fixes: 373578620
Test: Locally verified and updated screenshot test. Added unit for customized
Relnote: "We are now allowing margins (side and in some cases bottom) to be customized in Material3 primaryLayout."
Change-Id: Ib22f60aa2e9517fc9d0b29611124870fd3346b6d
* Update golden from branch 'androidx-main'
to 5a3d4c794acb8fd032ba24861cecea4b662e0a34
- Merge "Update golden images (auto-generated from Scuba): invocation I98200010356861311" into androidx-main
- Merge "Update golden images (auto-generated from Scuba): invocation I82600010355384311" into androidx-main
- Update golden images (auto-generated from Scuba): invocation I98200010356861311
Change-Id: I939e53a0a1ae9a54eeab0d29964333ca45bd109e
Flag: TEST_ONLY
Test: atest MyRoboTests
- Update golden images (auto-generated from Scuba): invocation I82600010355384311
Change-Id: I3613e4740541fa766446162771e6831fd6dfba34
Flag: TEST_ONLY
Test: atest MyRoboTests
2 files changed