diff --git a/astrid/res/layout/billing_activity.xml b/astrid/res/layout/billing_activity.xml index 882a24916..96c811ca5 100644 --- a/astrid/res/layout/billing_activity.xml +++ b/astrid/res/layout/billing_activity.xml @@ -8,13 +8,11 @@ + android:paddingTop="10dip" > Astrid Premium 1 Month 1 Year - Do more with Astrid Premium! - Attach files to to-dos (pdfs, doc, ppt…) + Do more with premium! + Attach files to to-dos <br>(pdfs, doc, ppt…) Syncs files with astrid.com - Turn emails with attachments into tasks + Add attachments via email Save voice notes as audio files Preview upcoming features Support the Astrid Team! - Premium will power up your productivity! Order one year and save 25%! + Premium will power up your productivity! + Order one year and save 25%! You are already subscribed to Astrid Premium! You need to have an Astrid.com account in order to subscribe to premium. Please log in or sign up. Thanks for subscribing to Astrid Premium! diff --git a/astrid/src/com/todoroo/astrid/billing/BillingActivity.java b/astrid/src/com/todoroo/astrid/billing/BillingActivity.java index cc16ac53c..bd912fbe8 100644 --- a/astrid/src/com/todoroo/astrid/billing/BillingActivity.java +++ b/astrid/src/com/todoroo/astrid/billing/BillingActivity.java @@ -11,6 +11,8 @@ import android.os.Bundle; import android.os.Handler; import android.support.v4.app.ActionBar; import android.support.v4.app.FragmentActivity; +import android.text.Html; +import android.text.Spanned; import android.util.DisplayMetrics; import android.util.Log; import android.view.View; @@ -171,8 +173,13 @@ public class BillingActivity extends FragmentActivity { StringBuilder builder = new StringBuilder("
    "); - for(int item : bullets) - builder.append("
  • ").append(getString(item)).append("
  • \n"); + for (int i = 0; i < bullets.length; i++) { + builder.append("
  • ").append(getString(bullets[i])); + if (i != bullets.length - 1) + builder.append("

    "); + builder.append("
  • \n"); + } + builder.append("
"); WebView list = (WebView) findViewById(R.id.premium_bullets); @@ -190,7 +197,15 @@ public class BillingActivity extends FragmentActivity { icon.setScaleType(ScaleType.FIT_CENTER); TextView speechBubble = (TextView) findViewById(R.id.reminder_message); - speechBubble.setText(R.string.premium_speech_bubble); + + // Construct speech bubble text + String html = String.format("%s %s", + getString(R.string.premium_speech_bubble_1), + Integer.toHexString(getResources().getColor(R.color.red_theme_color) - 0xff000000), + getString(R.string.premium_speech_bubble_2)); + Spanned spanned = Html.fromHtml(html); + speechBubble.setText(spanned); + speechBubble.setTextSize(17); } /**