Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

several UI improvements for dialogs, video messages, and the previewer activity #2583

Merged
merged 7 commits into from
Sep 17, 2018
Merged

Conversation

dkanada
Copy link
Contributor

@dkanada dkanada commented Sep 13, 2018

So the first change was fixing the padding and other spacing issues on a lot of dialogs. I probably missed a few but at least the most commonly used ones are fixed. The font preference wasn't displaying the currently selected font size, it is working now.

I also implemented the play icon I was talking about instead of using the filetype icons for image and video messages. This is what the iOS client does, and I also think it makes more sense for end users.

The last changes were in the MediaPreviewerActivity, which is now much more functional with some modifications to the glide calls. Small images and gifs are properly scaled to fill the screen, images with a transparent background are working, gifs will now play instead of just showing a thumbnail, and the UI looks more polished.

@bmarty
Copy link
Member

bmarty commented Sep 13, 2018

Hi @dkanada ,

Thanks for this new PR.

Can you please sign-off and touch CHANGES.rst please?

Also, CI report this error: ❌ Error: 'android\:text=\"[^@]' detected 17 times, last in file './vector/src/main/res/layout/dialog_phone_number_verification.xml'.

Why have you removed the tools namespace for example in a XML layout file? You can get more info on this here: https://developer.android.com/studio/write/tool-attributes

I will review the code soon.
Benoît

@dkanada
Copy link
Contributor Author

dkanada commented Sep 13, 2018

Signed-off-by: Dillon Kanada [email protected]

Copy link
Member

@bmarty bmarty left a 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

@bmarty bmarty merged commit ee188ae into element-hq:develop Sep 17, 2018
@dkanada dkanada deleted the dialog branch November 15, 2018 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants