forked from organicmaps/organicmaps
[android] Changed Buy PRO button font
This commit is contained in:
parent
27136cc1c5
commit
e7b91da4e1
5 changed files with 4 additions and 18 deletions
|
@ -102,6 +102,7 @@
|
|||
android:paddingRight="@dimen/dp_x_6"
|
||||
android:paddingTop="@dimen/dp_x_2"
|
||||
android:text="@string/become_a_pro"
|
||||
android:textSize="@dimen/sp_x_4"
|
||||
android:textColor="@android:color/white" />
|
||||
|
||||
</merge>
|
|
@ -314,7 +314,7 @@
|
|||
<!-- Length of track in cell that describes route -->
|
||||
<string name="length">Довжина</string>
|
||||
<string name="share_my_location">Поділитися моїм місцезнаходженням</string>
|
||||
<string name="become_a_pro">Купити версію PRO</string>
|
||||
<string name="become_a_pro">Купити PRO</string>
|
||||
<string name="menu_search">Пошук</string>
|
||||
<string name="pref_zoom_title">Кнопки трансфокації</string>
|
||||
<string name="pref_zoom_summary">Відображення на екрані</string>
|
||||
|
|
|
@ -691,21 +691,6 @@ public class MWMActivity extends NvEventQueueActivity implements LocationService
|
|||
final Button buyProButton = (Button)findViewById(R.id.buy_pro);
|
||||
if (isPro)
|
||||
UiUtils.hide(buyProButton);
|
||||
else
|
||||
{ // set bold style for PRO substring
|
||||
|
||||
final String[] tokens = {
|
||||
"pro".toUpperCase(),
|
||||
"полную".toUpperCase(),
|
||||
"profissional".toUpperCase()
|
||||
};
|
||||
|
||||
final StyleSpan boldSpan = new StyleSpan(Typeface.BOLD);
|
||||
final CharSequence spannedText = StringUtils.setSpansForTokens(
|
||||
getString(R.string.become_a_pro).toUpperCase(), boldSpan, tokens);
|
||||
|
||||
buyProButton.setText(spannedText);
|
||||
}
|
||||
}
|
||||
|
||||
private void yotaSetup()
|
||||
|
|
|
@ -508,7 +508,7 @@
|
|||
|
||||
"share_my_location" = "Поділитися моїм місцезнаходженням";
|
||||
|
||||
"become_a_pro" = "Купити версію PRO";
|
||||
"become_a_pro" = "Купити PRO";
|
||||
|
||||
"menu_search" = "Пошук";
|
||||
|
||||
|
|
|
@ -2918,7 +2918,7 @@
|
|||
[become_a_pro]
|
||||
en = Upgrade
|
||||
ru = Скачать PRO
|
||||
uk = Купити версію PRO
|
||||
uk = Купити PRO
|
||||
es = Obtener PRO
|
||||
pt = Obter PRO
|
||||
pl = Uaktualnij
|
||||
|
|
Loading…
Add table
Reference in a new issue