Plugins screen: description text is scrollable but not tappable.

+ Add 3 dots in the  end of the text
This commit is contained in:
androiddevkkotlin 2020-12-09 10:51:50 +02:00
parent d1e6d61a86
commit 07cc457668

View file

@ -224,13 +224,6 @@ public class PluginsFragment extends BaseOsmAndFragment implements PluginStateLi
name = plugin.getName();
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);
pluginLogo.setImageDrawable(UiUtilities.tintDrawable(plugin.getLogoResource(), color));
pluginLogo.setOnClickListener(new View.OnClickListener() {