diff --git a/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml b/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml index 295a0c5c90..c9bc762d9f 100644 --- a/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml +++ b/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml @@ -29,6 +29,7 @@ android:gravity="center_vertical" android:textSize="@dimen/dialog_header_text_size" android:ellipsize="end" + android:maxLines="1" osmand:typeface="@string/font_roboto_medium" android:layout_height="match_parent" android:layout_weight="1"/> diff --git a/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaDialogFragment.java index f78f23be54..1b7fbd4d29 100644 --- a/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikipedia/WikipediaDialogFragment.java @@ -26,13 +26,17 @@ import android.webkit.WebView; import android.widget.TextView; import net.osmand.AndroidUtils; +import net.osmand.IndexConstants; import net.osmand.data.Amenity; import net.osmand.plus.OsmandApplication; +import net.osmand.plus.OsmandPlugin; import net.osmand.plus.OsmandSettings; import net.osmand.plus.R; +import net.osmand.plus.development.OsmandDevelopmentPlugin; import net.osmand.plus.helpers.FileNameTranslationHelper; import net.osmand.util.Algorithms; +import java.io.File; import java.util.HashMap; import java.util.Map; import java.util.Set; @@ -117,6 +121,9 @@ public class WikipediaDialogFragment extends WikiArticleBaseDialogFragment { sb.append("