Skip to content

Improve description language selector in ShareActivity #1793

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

Closed
misaochan opened this issue Aug 4, 2018 · 7 comments
Closed

Improve description language selector in ShareActivity #1793

misaochan opened this issue Aug 4, 2018 · 7 comments

Comments

@misaochan
Copy link
Member

misaochan commented Aug 4, 2018

Summary:

It isn't immediately obvious what the description language selector that is newly implemented in ShareActivity does, because it's blank by default. And even after explicitly selecting a language, it remains blank.

IMO, it would be a good idea to have a language displayed by default (perhaps the phone language?). The selected language also needs to be displayed. After the user selects a language once, maybe we should also save it and use it for the next upload?

Device and Android version:

API 24, Nexus S emulator

Commons app version:

Current master, prodDebug

Screen-shots:

screenshot_1533374027

Would you like to work on the issue?

Preferably not.

@VaishSiddharth
Copy link
Contributor

@misaochan I would like to try this.

@misaochan
Copy link
Member Author

@VaishSiddharth It is yours :)

@ashishkumar468
Copy link
Collaborator

ashishkumar468 commented Aug 6, 2018

@misaochan @VaishSiddharth Seems to be working fine for me. (Tried on one plus 3T). Attaching the screenshot
device-2018-08-07-000720

@ashishkumar468
Copy link
Collaborator

@VaishSiddharth I was actually able to reproduce it on the device spec you mentioned, Seems like a ui issue. The first row is anyways by default the default device locale. The following rows sort the locales alphabetically. I have kind of fixed the thing. (A minor change (increased the weight of the language spinner)). If you have not yet started working on the issue. I can push my changes. Also any ui suggestions are welcome.

@VaishSiddharth
Copy link
Contributor

@ashishkumar468 Ok you can work on it :) 👍

@ashishkumar468
Copy link
Collaborator

Thanks 👍

ashishkumar468 added a commit to ashishkumar468/apps-android-commons that referenced this issue Aug 6, 2018
@ashishkumar468
Copy link
Collaborator

Can someone please review this, fixes a major design issue.

ilgazer pushed a commit to ilgazer/apps-android-commons that referenced this issue Sep 9, 2018
* bug fix, locales not showing up in the spinner in ShareActivity [issue commons-app#1793]

* removed extra padding from the languages edit text in the spinner

* reduced weight percentage of spinner to 30% and increased that of the descriptions in row_item_descriptions to 70%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants