Change wikivoyage text buttons style
This commit is contained in:
parent
93af1b763f
commit
8b1fdc49b1
3 changed files with 3 additions and 4 deletions
|
@ -38,7 +38,6 @@
|
||||||
android:drawablePadding="@dimen/context_menu_padding_margin_small"
|
android:drawablePadding="@dimen/context_menu_padding_margin_small"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:padding="@dimen/context_menu_padding_margin_tiny"
|
android:padding="@dimen/context_menu_padding_margin_tiny"
|
||||||
android:textAllCaps="true"
|
|
||||||
android:textSize="@dimen/default_desc_text_size"
|
android:textSize="@dimen/default_desc_text_size"
|
||||||
osmand:typeface="@string/font_roboto_medium"
|
osmand:typeface="@string/font_roboto_medium"
|
||||||
tools:background="@drawable/wikipedia_select_lang_bg_dark_n"
|
tools:background="@drawable/wikipedia_select_lang_bg_dark_n"
|
||||||
|
|
|
@ -52,9 +52,8 @@
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingRight="16dp"
|
android:paddingRight="16dp"
|
||||||
android:text="@string/shared_string_options"
|
android:text="@string/shared_string_options"
|
||||||
android:textAllCaps="true"
|
|
||||||
android:textColor="?attr/wikivoyage_active_color"
|
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"/>
|
osmand:typeface="@string/font_roboto_medium"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -23,6 +23,7 @@ import net.osmand.IndexConstants;
|
||||||
import net.osmand.plus.R;
|
import net.osmand.plus.R;
|
||||||
import net.osmand.plus.wikivoyage.data.WikivoyageArticle;
|
import net.osmand.plus.wikivoyage.data.WikivoyageArticle;
|
||||||
import net.osmand.plus.wikivoyage.data.WikivoyageLocalDataHelper;
|
import net.osmand.plus.wikivoyage.data.WikivoyageLocalDataHelper;
|
||||||
|
import net.osmand.util.Algorithms;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -139,7 +140,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
|
||||||
selectedLang = langs.get(0);
|
selectedLang = langs.get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
selectedLangTv.setText(selectedLang);
|
selectedLangTv.setText(Algorithms.capitalizeFirstLetter(selectedLang));
|
||||||
|
|
||||||
WikivoyageArticle article = getMyApplication().getWikivoyageDbHelper()
|
WikivoyageArticle article = getMyApplication().getWikivoyageDbHelper()
|
||||||
.getArticle(cityId, selectedLang);
|
.getArticle(cityId, selectedLang);
|
||||||
|
|
Loading…
Reference in a new issue