forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] androidx-main from androidx:androidx-main #748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
…ceAlpha" into androidx-main
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 : )