-
Notifications
You must be signed in to change notification settings - Fork 755
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
[Rich text editor] Add plain text mode and new attachment UI #7459
[Rich text editor] Add plain text mode and new attachment UI #7459
Conversation
64e1447
to
c5b2d46
Compare
Note these are currently only visible in the collapsed state. - [Google issue](https://issuetracker.google.com/issues/144859239) - [Rejected PR](material-components/material-components-android#437) - [Github issue](material-components/material-components-android#1278)
This reverts commit 17c43c9.
c5b2d46
to
2b7177b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I already reviewed the PR for develop and I couldn't find any issues on the integration between full screen an plain text modes.
@@ -69,14 +63,14 @@ class AttachmentTypeSelectorView( | |||
init { | |||
contentView = inflater.inflate(R.layout.view_attachment_type_selector, null, false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Avoid passingnull
as the view root (needed to resolve layout parameters on the inflated layout's root element)⚠️ Avoid passingnull
as the view root (needed to resolve layout parameters on the inflated layout's root element)⚠️ Avoid passingnull
as the view root (needed to resolve layout parameters on the inflated layout's root element)⚠️ Avoid passingnull
as the view root (needed to resolve layout parameters on the inflated layout's root element)
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="?colorSurface"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Possible overdraw: Root element paints background?colorSurface
with a theme that also paints a background (inferred theme is@android:style/Theme.Holo
)⚠️ Possible overdraw: Root element paints background?colorSurface
with a theme that also paints a background (inferred theme is@android:style/Theme.Holo
)
SonarCloud Quality Gate failed. |
* Add new attachments selection dialog * Add rounded corners to bottom sheet dialog. Note these are currently only visible in the collapsed state. - [Google issue](https://issuetracker.google.com/issues/144859239) - [Rejected PR](material-components/material-components-android#437) - [Github issue](material-components/material-components-android#1278) * Add changelog entry * Remove redundant call to superclass click listener * Refactor to use view visibility helper * Change redundant sealed class to interface * Remove unused string * Revert "Add rounded corners to bottom sheet dialog." This reverts commit 17c43c9. * Remove redundant view group * Remove redundant `this` * Update rich text editor to latest * Update rich text editor version * Allow toggling rich text in the new editor * Persist the text formatting setting * Add changelog entry
Combination of two changes rebased on
resilience-rc
.See the original PRs: