[android] Changed Buy PRO button font

This commit is contained in:
Alex Zolotarev 2013-12-05 18:21:53 +03:00 committed by Alex Zolotarev
parent 27136cc1c5
commit e7b91da4e1
5 changed files with 4 additions and 18 deletions
android
res
src/com/mapswithme/maps
iphone/Maps/uk.lproj
strings.txt

View file

@ -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>

View file

@ -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>

View file

@ -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()

View file

@ -508,7 +508,7 @@
"share_my_location" = "Поділитися моїм місцезнаходженням";
"become_a_pro" = "Купити версію PRO";
"become_a_pro" = "Купити PRO";
"menu_search" = "Пошук";

View file

@ -2918,7 +2918,7 @@
[become_a_pro]
en = Upgrade
ru = Скачать PRO
uk = Купити версію PRO
uk = Купити PRO
es = Obtener PRO
pt = Obter PRO
pl = Uaktualnij