Skip to content
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

[Color items] Adapts the color item list to the kids/adult flavors. #17

Merged
merged 1 commit into from Jul 24, 2016

Conversation

vbarthel-fr
Copy link
Member

This MR is an attempt to adapt the color item lists for kids.

In the kids version of the app, the color items are now displayed as a grid. The hexadecimal codes are no longer shown. And long press actions for copying the hexa codes to the clip board has been disabled.

Here are some screenshots of the default version:
device-2016-07-24-111220
device-2016-07-24-111301

And here are some screenshots of the kids version:
device-2016-07-24-111332
device-2016-07-24-111406

Once this MR is validated, I will adapt the palette lists in the same way =)

The ColorItemListWrapper desribes the common contract of the wrapper.
The FlavorColorItemListWrapper defines the specific behaviors.

For the kids flavor, the items are presented in a grid.
Only a preview of the color is presented.

For the adult flavor, the items are presented in a vertical list.
The hexadecimal code id displayed next to the color.
A long press on the row will copy the hexadecimal code to the clipboard.
@jo-elimu
Copy link
Member

Looks great :-)

Would it be possible to remove the text "New palette" from the ActionBar also?

@vbarthel-fr
Copy link
Member Author

vbarthel-fr commented Jul 24, 2016

Absolutely, but this will be part of another MR =) This MR only focus on the color item lists.

We split the work into small MR so that it is easier for us to divide the tasks and for you to see what changes =)

@tbarthel-fr
Copy link
Member

lgtm 👾

@jo-elimu
Copy link
Member

@vbarthel-fr Ok, good strategy :-)

I think the new item list looks very intuitive.

@jo-elimu jo-elimu merged commit c167660 into kid-matters Jul 24, 2016
@vbarthel-fr vbarthel-fr deleted the vb/color-item-list branch July 24, 2016 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants