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
diff --git a/frameworks/support b/frameworks/support
index 5824e24..5812e1e 160000
--- a/frameworks/support
+++ b/frameworks/support
@@ -1 +1 @@
-Subproject commit 5824e249839930f6d58fb470d47880b416b4055e
+Subproject commit 5812e1e3574ada0eba79012c7316b87d61ebd06a
diff --git a/golden b/golden
index 654facd..5a3d4c7 160000
--- a/golden
+++ b/golden
@@ -1 +1 @@
-Subproject commit 654facd956bd7875245214530e8007b4cd4c3d5f
+Subproject commit 5a3d4c794acb8fd032ba24861cecea4b662e0a34