Skip to content

Conversation

@liveHarshit
Copy link
Member

Fixes #1845

Screenshots for the change:

@liveHarshit liveHarshit requested a review from anhanh11001 May 29, 2019 14:40
@auto-label auto-label bot added the feature label May 29, 2019
Copy link
Contributor

@anhanh11001 anhanh11001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

layout id/checkInLayout and layout id/notCheckInLayout is the same right? So instead of toggling the visibility of these layouts, why don't you make it a single layout and change the content (text, circle color) inside it

@liveHarshit
Copy link
Member Author

layout id/checkInLayout and layout id/notCheckInLayout is the same right? So instead of toggling the visibility of these layouts, why don't you make it a single layout and change the content (text, circle color) inside it

The code will get complicated because in that case, I need to change text color, set background tint and change text programmatically for each condition. So, IMO it's better to set design in layout resources file and make the code simple.

@anhanh11001
Copy link
Contributor

Well, that makes sense to me

@iamareebjamal iamareebjamal merged commit 72c5e5c into fossasia:development May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show date wise check

3 participants