-
Notifications
You must be signed in to change notification settings - Fork 145
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
Make the LicensesDialogFragment's licenses text styleable #75
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution. I'll merge this as soon as the issues are fixed.
pom.xml
Outdated
|
||
<!-- Dependency Versions --> | ||
<junit.version>4.12</junit.version> | ||
<robolectric.version>3.0</robolectric.version> | ||
<android.version>6.0_r3</android.version> | ||
<android-support.version>23.3.0</android-support.version> | ||
<android.version>4.1.1.4</android.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be 7.1.1_r3 when android.sdk.platform is 25
android:text="@string/single" | ||
android:onClick="onSingleClick" | ||
android:layout_weight="1" /> | ||
android:layout_height="match_parent"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the child inside a scrollview should use wrap_content for height
} | ||
|
||
private String getRGBAString(@ColorInt int color) { | ||
return "background-color: rgba(" + Color.red(color) + "," + Color.green(color) + "," + Color.blue(color) + "," + ((float) Color.alpha(color) / 255) + ");"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use String.format for this
@hameno Please check again. |
Hi @hameno , will this pr be merged and release in next time? |
Hey, yes, hopefully I have some time this weekend to do a release. |
I hope so. |
1.8.2 is now released |
Because the default css style is too bright in night mode, so I make the LicensesDialogFragment's licenses text can be styled.