Document right-to-left layouts in the locale recipe - #323
Open
DanielJette wants to merge 1 commit into
Open
DanielJette wants to merge 1 commit into
DanielJette wants to merge 1 commit into
Conversation
Add a right-to-left section to the locale recipe, with ScreenshotScenarioRule and ScreenshotRule examples and the requirements for layouts to mirror. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AgUU49S4wSWd7vhJS7kEmU
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this change accomplish?
The locale recipe never mentions right-to-left layouts, and docs searches for
rtlreturn nothing about them.How have you achieved it?
recipes/2-locale.md.Configuration.setLocales(), which also sets the layout direction.android:supportsRtl, that left-to-right text stays left to right, and where the baseline folder goes. Includes the import foroverrideResourceConfiguration.Scope of Impact and Testing instructions
Documentation only; no library or plugin changes, so no CHANGELOG entry. Built locally with
yarn buildfromdocs/. No broken links. Both examples were recorded in the Legacy sample on an API 37 emulator: Arabic withconfigure { locale }and Hebrew withoverrideResourceConfigurationboth produced mirrored layouts in…-arand…-hefolders. That test code was not committed.The commit includes
[skip ci]so CI doesn't run for this docs-only change.Notice
Warning
This change must keep
mainin a shippable state; it may be shipped without further notice.🤖 Generated with Claude Code
https://claude.ai/code/session_01AgUU49S4wSWd7vhJS7kEmU