Plugins screen: description text is scrollable but not tappable.
+ Add 3 dots in the end of the text
This commit is contained in:
parent
d1e6d61a86
commit
07cc457668
1 changed files with 0 additions and 7 deletions
|
@ -224,13 +224,6 @@ public class PluginsFragment extends BaseOsmAndFragment implements PluginStateLi
|
||||||
name = plugin.getName();
|
name = plugin.getName();
|
||||||
pluginDescription.setText(plugin.getDescription());
|
pluginDescription.setText(plugin.getDescription());
|
||||||
|
|
||||||
int linkTextColorId = nightMode ? R.color.ctx_menu_bottom_view_url_color_dark : R.color.ctx_menu_bottom_view_url_color_light;
|
|
||||||
int linkTextColor = ContextCompat.getColor(context, linkTextColorId);
|
|
||||||
|
|
||||||
pluginDescription.setLinkTextColor(linkTextColor);
|
|
||||||
pluginDescription.setMovementMethod(LinkMovementMethod.getInstance());
|
|
||||||
AndroidUtils.removeLinkUnderline(pluginDescription);
|
|
||||||
|
|
||||||
int color = AndroidUtils.getColorFromAttr(context, R.attr.list_background_color);
|
int color = AndroidUtils.getColorFromAttr(context, R.attr.list_background_color);
|
||||||
pluginLogo.setImageDrawable(UiUtilities.tintDrawable(plugin.getLogoResource(), color));
|
pluginLogo.setImageDrawable(UiUtilities.tintDrawable(plugin.getLogoResource(), color));
|
||||||
pluginLogo.setOnClickListener(new View.OnClickListener() {
|
pluginLogo.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
Loading…
Reference in a new issue