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

add checkmark to verified links and better constraints to account fields #922

Merged
merged 3 commits into from
Dec 3, 2018

Conversation

connyduck
Copy link
Collaborator

device-2018-11-18-111232

@connyduck connyduck added this to the Tusky 5 milestone Nov 18, 2018
Copy link
Collaborator

@charlag charlag left a comment

Choose a reason for hiding this comment

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

LGTM!

LinkHelper.setClickableText(viewHolder.valueTextView, emojifiedValue, null, linkListener)

if(field.verifiedAt != null) {
TextViewCompat.setCompoundDrawablesRelativeWithIntrinsicBounds(viewHolder.valueTextView, 0, 0, R.drawable.ic_check_circle, 0)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need to use compat?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No you are right, we don't. I will remove it from everywhere else as well.

app:layout_constrainedWidth="true"
app:layout_constraintWidth_max="160dp"
tools:text="Field title " />
app:layout_constraintWidth_percent=".3"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not clear why .3 is needed here. Perhaps a comment is needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I just think it looks best, no technical reason

@connyduck connyduck merged commit 8d7f879 into master Dec 3, 2018
@connyduck connyduck deleted the verified_links branch December 3, 2018 10:02
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.

None yet

2 participants