ManeraKai / simplytranslate_mobile

Privacy friendly frontend to Google Translate
https://manerakai.github.io/simplytranslate_mobile/
GNU General Public License v3.0
173 stars 15 forks source link

Scroll and add back arrows #150

Closed Valdnet closed 2 years ago

Valdnet commented 2 years ago

The bug and improvement described in Issue #32.

ManeraKai commented 2 years ago

Changed the scrolling behavior, but didn't add a back button because that screen is meant to take as much space as possible. Google Translate's maximized screen doesn't have any button. Just text. What do you think @Valdnet @Aga-C?

Aga-C commented 2 years ago

You have 4 buttons, why not add another one here?

ManeraKai commented 2 years ago

So not an appBar, but on that column? Interesting

Valdnet commented 2 years ago

You have 4 buttons, why not add another one here?

It can be placed there, but first in order (top) 😉.

Aga-C commented 2 years ago

So not an appBar, but on that column? Interesting

No, I didn't mean to add a bar on top. In the original comment I wrote about three things:

ManeraKai commented 2 years ago

OK: https://github.com/ManeraKai/simplytranslate_mobile/actions/runs/1381172677

Valdnet commented 2 years ago

You cannot see the slider while scrolling the text.

Valdnet commented 2 years ago

And there is this to be implemented for this window along with text selection (so that it doesn't scroll when selected) 😁.

obraz

ManeraKai commented 2 years ago

It really doesn't have a bug there because the input is talking all the screen. Maybe it's color is just white.

Valdnet commented 2 years ago

It really doesn't have a bug there because the input is talking all the screen.

👍

Maybe it's color is just white.

You have to change to green 😉.

Aga-C commented 2 years ago

Looks good. From things I described, only space from the top is still missing: image

As you can see, the border of the window is overlapping icons in my notifications bar.

Valdnet commented 2 years ago

As you can see, the border of the window is overlapping icons in my notifications bar.

It is displayed correctly for me. This can only be a problem with some smartphones. @ManeraKai you need to look at it better 😉.

ManeraKai commented 2 years ago

This can only be a problem with some smartphones.

Yes, this works for me too. I may hide the status bar @Aga-C.

Aga-C commented 2 years ago

Yes, this works for me too. I may hide the status bar @Aga-C.

It would be the best idea 🙂

BTW. The same was happening on an emulator: image

ManeraKai commented 2 years ago

I use the Pixel XL API 29 emulator.

Aga-C commented 2 years ago

I use Pixel 5 API 30.

ManeraKai commented 2 years ago

Lets see: https://github.com/ManeraKai/simplytranslate_mobile/actions/runs/1381389736

ManeraKai commented 2 years ago

Forgot to change the color of the text selection toolbar though.

Aga-C commented 2 years ago

Just some small cosmetic issue: if there's now no status bar, it would be better to move everything a bit to the top. Especially that, at the bottom, the border is too close to the bottom of the screen. E.g. on my phone with rounded corners, border corners are sticking to the rounded edge of the screen (unfortunately I can't show this on a screenshot).

ManeraKai commented 2 years ago

Changed it.

Aga-C commented 2 years ago

The bottom part looks good, but I'd reduce a space a bit at the top. image

ManeraKai commented 2 years ago

Doesn't having it as a symmetric center box better?

Aga-C commented 2 years ago

Doesn't having it as a symmetric center box better?

Ok, I've run it on a real phone, not on an emulator, and it looks good.

So, for me, now this feature looks and works as it should. Thanks! 🙂