diff --git a/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml b/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml index 83928b05a0..e72375ae8d 100644 --- a/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml +++ b/OsmAnd/res/layout/fragment_wikivoyage_article_dialog.xml @@ -38,7 +38,6 @@ android:drawablePadding="@dimen/context_menu_padding_margin_small" android:gravity="center_vertical" android:padding="@dimen/context_menu_padding_margin_tiny" - android:textAllCaps="true" android:textSize="@dimen/default_desc_text_size" osmand:typeface="@string/font_roboto_medium" tools:background="@drawable/wikipedia_select_lang_bg_dark_n" diff --git a/OsmAnd/res/layout/fragment_wikivoyage_explore_dialog.xml b/OsmAnd/res/layout/fragment_wikivoyage_explore_dialog.xml index 5e93521cde..2678188def 100644 --- a/OsmAnd/res/layout/fragment_wikivoyage_explore_dialog.xml +++ b/OsmAnd/res/layout/fragment_wikivoyage_explore_dialog.xml @@ -52,9 +52,8 @@ android:paddingLeft="16dp" android:paddingRight="16dp" android:text="@string/shared_string_options" - android:textAllCaps="true" android:textColor="?attr/wikivoyage_active_color" - android:textSize="@dimen/default_list_text_size" + android:textSize="@dimen/default_desc_text_size" osmand:typeface="@string/font_roboto_medium"/> diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageArticleDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageArticleDialogFragment.java index c1f54be779..b8a6f168f7 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageArticleDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageArticleDialogFragment.java @@ -23,6 +23,7 @@ import net.osmand.IndexConstants; import net.osmand.plus.R; import net.osmand.plus.wikivoyage.data.WikivoyageArticle; import net.osmand.plus.wikivoyage.data.WikivoyageLocalDataHelper; +import net.osmand.util.Algorithms; import java.io.File; import java.util.ArrayList; @@ -139,7 +140,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen selectedLang = langs.get(0); } - selectedLangTv.setText(selectedLang); + selectedLangTv.setText(Algorithms.capitalizeFirstLetter(selectedLang)); WikivoyageArticle article = getMyApplication().getWikivoyageDbHelper() .getArticle(cityId, selectedLang);