Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jan 16, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

palaksharma15 and others added 16 commits January 14, 2026 14:04
This change updates the highlighter's color palette and reduce the opacity by 20% in accordance with the new UX design.

Bug: 475707645
Test: build and run on test device
Change-Id: Iddccf8a08a8f3c9126cf436e9464e7356a34ead0
This CL introduces a new layout composable `FlexBox`, which brings the capabilities of the CSS Flexible Box Layout model to Compose. It serves as a superset of `Row`, `Column`, `FlowRow`, and `FlowColumn`.

The new API consists of:
- `FlexBox`: The main layout composable that arranges children based on flexible logic.
- `FlexBoxConfig`: A functional interface for configuring container-level properties such as `direction`, `wrap`, `justifyContent`, `alignItems`, `alignContent`, and gaps.
- `Modifier.flex`: A modifier available within `FlexScope` to configure child-specific properties like `grow`, `shrink`, `basis`, `order`, and `alignSelf`.

This layout provides granular control over space distribution and alignment, allowing developers to build complex, responsive UI designs where items can grow to fill space, shrink to avoid overflow, or wrap onto multiple lines with precise alignment strategies (including baseline alignment).

Relnote: "Introduced `FlexBox`, a configurable layout system that is a superset of `Row`, `Column`, `FlowRow`, and `FlowColumn`. It supports features like flex-grow, flex-shrink, custom wrapping, direction change and detailed alignment control via `FlexBoxConfig` and `Modifier.flex`."

Test: Added to `FlexBoxTest`
Change-Id: I44780b3c90e0a36f4095ed83e73c9b0984ecd6f6
Test: Added to `FlexBoxTest`
Change-Id: I53a091e7f54bb7929eda61baf4c7bc9e87cee9d4
Test: Added to `FlexBoxTest`
Change-Id: Ic077176927e2dc6137072ed59141bd4636e2f3b9
Test: Added to `FlexBoxTest`
Fixes: 475492898
Change-Id: Ie9d75d150bbd3bbccc3b118a9f971073110b3cee
Test: Added to `FlexBoxTest`
Change-Id: I196a839c2c095b0f99de137103856f261246b678
Adds the PlatformApiCompat interface, which will be used to integrate
experimental features and APIs where the implementation may be provided
elsewhere.

Bug: 474658521
Test: Build CameraPipe
Change-Id: I2e2322157ba30be752739279f272c3a67315c3a7
…androidx-main

* changes:
  Skip placing or clip items that overflow layout bounds
  Add ExperimentalFlexBoxApi.kt
  FlexBox Layout Tests
  FlexBox Layout Demos
  Introduce `FlexBox` layout
Adds overloads to `entry` and `addEntryProvider` that accept a `metadata` lambda `(Key) -> Map<String, Any>`. This allows metadata to be derived from the key instance, enabling the extraction of arguments or other properties from the key into the metadata map.

RelNote: "You can now dynamically add metadata with consideration for the entry key via the EntryProvider DSL."
Test: Updates `EntryProviderTest` to include a test case for the new API.
Bug: 474416976

Change-Id: I942fb23e416c3b8c79ef5422ead6ce738200cbb0
This CL addresses a potential race condition in `BaseEntity.getActivitySpaceAlpha()`.

Bug: b/471072021
Test: Ran existing scenecore unit tests.
Change-Id: Iaedd47ca495149709b67e46d65347d1a45ab6601
This change introduces the onTextHighlightError callback to InProgressTextHighlightsListener.
This callback is invoked when a recoverable error, such as a DeadObjectException during text selection, occurs within InProgressHighlightsView. The gesture can continue despite the error, allowing the user to retry the operation.

Bug: 470235782
Test: build and run on test device
Change-Id: Ida42f527bae0e371598d2cee4af9cf9db1f5863f
@pull pull bot locked and limited conversation to collaborators Jan 16, 2026
@pull pull bot added the ⤵️ pull label Jan 16, 2026
@pull pull bot merged commit 64f8fbe into MaxMood96:androidx-main Jan 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants