Repository navigation
ADFA-7133 | Layout Editor: show the Help button's icon and link Learn more to its guide - #174
Open
Daniel-ADFA wants to merge 1 commit into
Open
Daniel-ADFA wants to merge 1 commit into
Daniel-ADFA wants to merge 1 commit into
Conversation
… more to its guide Plugin classes load parent-first, so the nav rail's FloatingActionButton is the IDE's copy. It reads app: attributes by the IDE's attribute IDs and never saw the plugin's app:srcCompat, which left the button blank. The icon now comes from the framework attribute android:src, the button is labelled Help for TalkBack, and the Help tooltip's Learn more opens i/layout-editor.html.
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.
ADFA-7133
The Help button at the top of the nav rail was blank. Plugin classes load parent-first, so its
FloatingActionButtonis the IDE's copy, which readsapp:attributes by the IDE's attribute IDs and never sees the plugin'sapp:srcCompat. The icon now comes from the framework attributeandroid:src, and the button is labelled "Help" for TalkBack. The Help tooltip's Learn more now opensi/layout-editor.html.layout_preview_drawable.xmlandlayout_drawable_grid_item.xmlalso useapp:srcCompat; they are left alone here.Verified on an emulator: the icon shows at font scale 1.0 and 2.0, and the button's content description is "Help". The Learn more link is not verified on a device, because debug builds ship a documentation.db older than version 3, so no tooltip renders there.