Closed liudongmiao closed 10 years ago
In https://github.com/rovo89/XposedInstaller/blob/master/src/de/robv/android/xposed/installer/DownloadDetailsFragment.java#L67, it uses
txtValue.setTextColor(ThemeUtil.getThemeColor(getActivity(), android.R.attr.textColorLink));
This doesn't work on Gingerbread, and it's a bit complex. How about use
txtValue.setTextColor(txtValue.getLinkTextColors())
Furthermore, getThemeColor only returns a single color, and getLinkTextColors returns ColorStateList.
getThemeColor
getLinkTextColors
ColorStateList
It's so simple, so I didn't issue a pull request.
I wasn't aware that such a method exists. I would obviously need to test it, but if it's working fine, I can use it instead.
In https://github.com/rovo89/XposedInstaller/blob/master/src/de/robv/android/xposed/installer/DownloadDetailsFragment.java#L67, it uses
This doesn't work on Gingerbread, and it's a bit complex. How about use
Furthermore,
getThemeColor
only returns a single color, andgetLinkTextColors
returnsColorStateList
.It's so simple, so I didn't issue a pull request.