-
Notifications
You must be signed in to change notification settings - Fork 0
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
Nmc/1929 Collabora #70
Conversation
creatorViewBinding.creatorThumbnail.getContext(), | ||
viewThemeUtils)); | ||
//for NMC we have different text and icon for Markdown(.md) menu | ||
if (creator.getMimetype().equalsIgnoreCase(MimeTypeUtil.MIMETYPE_TEXT_MARKDOWN)) { |
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.
In my test this now shows "create text document" with new icon, but when clicking on it, it still suggests to create "empty file.md".
(as this is done by server always a Markdown file will be created)
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.
Yes that's right clicking action is same we have just changed new text and icon for it.
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.
then please change this directly in strings.xml and simply change xml icon file.
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.
This will be added at run time when the creators have the data. And it is using LinearLayout to add the views.
So if i will add text and icon in xml then i will have to comment the creators logic.
119656c
to
73e9634
Compare
73e9634
to
be256ee
Compare
be256ee
to
cdda6e9
Compare
cdda6e9
to
b550bee
Compare
b550bee
to
a3a9084
Compare
a3a9084
to
eb1ab69
Compare
3d6139b
to
9dcdd1d
Compare
9dcdd1d
to
6a73ee3
Compare
6a73ee3
to
0da44d5
Compare
0da44d5
to
b035049
Compare
b035049
to
240f1c7
Compare
This PR code has been moved to #88 to optimize PRs. |
Customization for office file icons & text localization.
Mime type added for formula & graphics.
Different icon & text for Markdown (.md) file.