-
Notifications
You must be signed in to change notification settings - Fork 758
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
Apply design changes to WYSIWYG editor #7354
Conversation
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.
Some small remarks. Also the CI is not happy because of the usage of colorAccent
. Can you check please? (this is maybe a false positive)
<style name="Widget.Vector.EditText.Composer.RichText" parent="Widget.AppCompat.EditText"> |
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.
I would rename to Widget.Vector.EditText.RichTextComposer
, to avoid the confusion with the parenting (parent style is Widget.AppCompat.EditText
, not Widget.Vector.EditText.Composer
).
Or eventually just write:
<style name="Widget.Vector.EditText.Composer.RichText">
<item name="android:minHeight">20dp</item>
<item name="android:padding">0dp</item>
</style>
android:background="@android:color/transparent" | ||
android:contentDescription="@string/app_name"> | ||
android:background="@drawable/bg_rich_text_menu_button" | ||
android:contentDescription="@string/rich_text_editor_format_bold" |
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.
Better to use tools:contentDescription
, since this will be changed at runtime.
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.
It seems like this is not enough. See #7354 (comment).
dce40c9
to
b07f6f5
Compare
b07f6f5
to
743520a
Compare
<style name="Widget.Vector.EditText.Composer.RichTextComposer" parent="Widget.AppCompat.EditText"> |
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.
<style name="Widget.Vector.EditText.Composer.RichTextComposer" parent="Widget.AppCompat.EditText"> | |
<style name="Widget.Vector.EditText.RichTextComposer" parent="Widget.AppCompat.EditText"> |
?
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.
Sorry, I changed it to the correct value, and also corrected the references to this style in the views.
There are a couple of other design changes to review. |
Replace standby voice recorder icon.
73e9d03
to
a38255b
Compare
|
SonarCloud Quality Gate failed. |
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.
Thanks for the update. Latest commits are fine too. 👍
Type of change
Content
Adjusted sizes, round corners, colours, backgrounds, added menu state feedback, fixed proguard issues.
Motivation and context
#7288 only set up the initial integration, but we still needed to implement some of the design decisions.
Screenshots / GIFs
Tests
Tested devices
Checklist