Skip to content

Feature/bug fix#1793 #1802

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

Merged
merged 5 commits into from
Aug 16, 2018
Merged

Conversation

ashishkumar468
Copy link
Collaborator

Title (required)

Improve description language selector in ShareActivity
Fixes #{1793 and title (Improve description language selector in ShareActivity
) }

Description (required)

The spinner items in the ShareActivity were not showing up in certain devices.
{Describe the changes made and why they were made.}
Changed the ration of the spinner to the recycler view for description from 3:7 to 4:6

Tests performed (required)

Tested on {24 & Nexus s emulator}, with {build variant, e.g. betaD
device-2018-08-07-003007
ebug}.

Screenshots showing what changed (optional)

{Only for user interface changes, otherwise remove this section. See how to take a screenshot}

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

@codecov-io
Copy link

codecov-io commented Aug 6, 2018

Codecov Report

Merging #1802 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1802   +/-   ##
======================================
  Coverage    3.62%   3.62%           
======================================
  Files         192     192           
  Lines        9809    9809           
  Branches      863     863           
======================================
  Hits          356     356           
  Misses       9428    9428           
  Partials       25      25

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61888f7...2e233a4. Read the comment docs.

@misaochan
Copy link
Member

misaochan commented Aug 16, 2018

Looks good to me, happy to merge after tests succeed (please test with a small screen size emulator as well, preferably a Nexus S or similar). :)

@ashishkumar468
Copy link
Collaborator Author

@misaochan I have already tested on Nexus S (The attached screenshot is from the same), as well as on samsung s device. Seems to be working fine.

@misaochan
Copy link
Member

Thanks, I missed that note on your screenshot! Btw, is there a reason why there is so much padding between the text and the dropdown arrow on the right? This feature is still usable in its current state, but was wondering about that. The dropdown menu takes up half of the screen width on small screens.

@ashishkumar468
Copy link
Collaborator Author

Actually, I have used the default spinner edit text layout which has the default padding. Let me see if I can figure out a way to somehow reduce the padding

@ashishkumar468
Copy link
Collaborator Author

@misaochan I believe the last commit will meet your requirements

@misaochan misaochan merged commit 3cee4bb into commons-app:master Aug 16, 2018
@misaochan
Copy link
Member

Thanks @ashishkumar0207 !

ilgazer pushed a commit to ilgazer/apps-android-commons that referenced this pull request 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants