Merge remote-tracking branch 'sbosley/110805-light-theme'

pull/14/head
Tim Su 15 years ago
commit 75d5864c83

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid" package="com.timsu.astrid"
android:versionName="3.8.1-rc2" android:versionName="3.8.2"
android:versionCode="189"> android:versionCode="191">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card --> <!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> --> <!-- android:installLocation="internalOnly"> -->

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="#ffffff" />
</shape>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -19,7 +19,8 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dip" android:layout_marginLeft="5dip"
android:button="@drawable/btn_check_small" android:button="@drawable/btn_check_small"
style="@style/TextAppearance.GEN_EditLabel"
android:text="@string/gcal_TEA_addToCalendar_label" /> android:text="@string/gcal_TEA_addToCalendar_label" />
<Spinner <Spinner

@ -7,9 +7,11 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dip" android:layout_marginLeft="5dip"
android:button="@drawable/btn_check_small" android:button="@drawable/btn_check_small"
android:text="@string/repeat_enabled"/> android:text="@string/repeat_enabled"
style="@style/TextAppearance.GEN_EditLabel" />
<LinearLayout android:id="@+id/repeatContainer" <LinearLayout android:id="@+id/repeatContainer"
style="@style/Content"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">

@ -2,9 +2,10 @@
<RelativeLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid" xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
android:id="@+id/taskEditParent"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:background="@drawable/background_gradient"> style="@style/Content">
<View <View
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -272,6 +273,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<CheckBox <CheckBox
style="@style/TextAppearance.GEN_EditLabel"
android:id="@+id/checkbox_facebook" android:id="@+id/checkbox_facebook"
android:text="@string/actfm_EPA_facebook" android:text="@string/actfm_EPA_facebook"
android:paddingLeft="45dip" android:paddingLeft="45dip"
@ -279,6 +281,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<CheckBox <CheckBox
style="@style/TextAppearance.GEN_EditLabel"
android:id="@+id/checkbox_twitter" android:id="@+id/checkbox_twitter"
android:text="@string/actfm_EPA_twitter" android:text="@string/actfm_EPA_twitter"
android:paddingLeft="45dip" android:paddingLeft="45dip"
@ -318,6 +321,7 @@
android:text="@string/TEA_reminder_label" android:text="@string/TEA_reminder_label"
style="@style/TextAppearance.GEN_EditLabel" /> style="@style/TextAppearance.GEN_EditLabel" />
<CheckBox <CheckBox
style="@style/TextAppearance.GEN_EditLabel"
android:id="@+id/reminder_due" android:id="@+id/reminder_due"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -325,6 +329,7 @@
android:button="@drawable/btn_check_small" android:button="@drawable/btn_check_small"
android:text="@string/TEA_reminder_due" /> android:text="@string/TEA_reminder_due" />
<CheckBox <CheckBox
style="@style/TextAppearance.GEN_EditLabel"
android:id="@+id/reminder_overdue" android:id="@+id/reminder_overdue"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -336,6 +341,7 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent">
<CheckBox <CheckBox
style="@style/TextAppearance.GEN_EditLabel"
android:id="@+id/reminder_random" android:id="@+id/reminder_random"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"

@ -4,16 +4,16 @@
android:id="@+id/taskListParent" android:id="@+id/taskListParent"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:background="@drawable/background_gradient" style="@style/Content"
android:orientation="vertical"> android:orientation="vertical">
<!-- Header --> <!-- Header -->
<LinearLayout <LinearLayout
style="@style/Header"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="43dip" android:layout_height="43dip"
android:layout_weight="1" android:layout_weight="1"
android:orientation="horizontal" android:orientation="horizontal">
android:background="@drawable/header_background">
<!-- Filters Button --> <!-- Filters Button -->
<ImageView android:id="@+id/back" <ImageView android:id="@+id/back"

@ -1,5 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android"> <resources xmlns:android="http://schemas.android.com/apk/res/android">
<!-- theme attributes -->
<attr name="asContentBackground" format="reference"/>
<attr name="asHeaderBackground" format="reference"/>
<attr name="asTextColor" format="color"/>
<attr name="asDetailsColor" format="color"/>
<attr name="asDueDateColor" format="color"/>
<attr name="asDueDateOverdueColor" format="color"/>
<attr name="asDueDateCompletedColor" format="color"/>
<declare-styleable name="ContactsAutoComplete"> <declare-styleable name="ContactsAutoComplete">
<attr name="allowMultiple" format="boolean"/> <attr name="allowMultiple" format="boolean"/>
<attr name="completeTags" format="boolean"/> <attr name="completeTags" format="boolean"/>

@ -161,11 +161,19 @@
<string name="p_colorize">colorize</string> <string name="p_colorize">colorize</string>
<string name="p_fontSize">font_size</string> <string name="p_fontSize">font_size</string>
<string name="p_showNotes">notesVisible</string> <string name="p_showNotes">notesVisible</string>
<string name="p_transparent">transparent</string> <string name="p_transparent_deprecated">transparent</string>
<string name="p_theme">theme</string>
<string name="p_voiceInputEnabled">voiceInputEnabled</string> <string name="p_voiceInputEnabled">voiceInputEnabled</string>
<string name="p_voiceInputCreatesTask">voiceInputCreatesTask</string> <string name="p_voiceInputCreatesTask">voiceInputCreatesTask</string>
<string name="p_voiceRemindersEnabled">voiceRemindersEnabled</string> <string name="p_voiceRemindersEnabled">voiceRemindersEnabled</string>
<string-array name="EPr_theme_settings">
<!-- theme_settings: options for preference menu -->
<item>white</item>
<item>black</item>
<item>transparent</item>
</string-array>
<string-array name="EPr_font_size"> <string-array name="EPr_font_size">
<!-- font_size: options for preference menu --> <!-- font_size: options for preference menu -->
<item>10</item> <item>10</item>

@ -366,14 +366,12 @@
<!-- Preference: Task List Show Notes Description (enabled) --> <!-- Preference: Task List Show Notes Description (enabled) -->
<string name="EPr_showNotes_desc_enabled">Notes will always be displayed</string> <string name="EPr_showNotes_desc_enabled">Notes will always be displayed</string>
<!-- Preference: Transparent --> <!-- Preference: Theme -->
<string name="EPr_transparent_title">Transparency</string> <string name="EPr_theme_title">Color Theme</string>
<!-- Preference: Transparent Description (disabled) --> <!-- Preference: Theme Description (%s => value) -->
<string name="EPr_transparent_desc_disabled">Desktop wallpaper will not be shown</string> <string name="EPr_theme_desc">Currently: %s</string>
<!-- Preference: Transparent Description (enabled) -->
<string name="EPr_transparent_desc_enabled">Desktop wallpaper will be shown</string>
<!-- Preference: Transparent Description (android 1.6) --> <!-- Preference: Transparent Description (android 1.6) -->
<string name="EPr_transparent_desc_unsupported">Setting requires Android 2.0+</string> <string name="EPr_theme_desc_unsupported">Setting requires Android 2.0+</string>
<!-- Preference Category: Defaults Title --> <!-- Preference Category: Defaults Title -->
<string name="EPr_defaults_header">New Task Defaults</string> <string name="EPr_defaults_header">New Task Defaults</string>
@ -430,6 +428,13 @@
<item>When overdue</item> <item>When overdue</item>
<item>At deadline or overdue</item> <item>At deadline or overdue</item>
</string-array> </string-array>
<string-array name="EPr_themes">
<!-- theme_settings: labels for Theme preference menu -->
<item>White</item>
<item>Black</item>
<item>Transparent</item>
</string-array>
<!-- ========================================== Task Management Settings == --> <!-- ========================================== Task Management Settings == -->

@ -4,20 +4,47 @@
<!-- ========================================================== General --> <!-- ========================================================== General -->
<style name="TextAppearance" parent="android:TextAppearance" /> <style name="Theme" parent="@style/Theme.GreenDroid">
<item name="android:windowBackground">@null</item>
<item name="asContentBackground">@drawable/background_gradient</item>
<item name="asHeaderBackground">@drawable/header_background</item>
<item name="asTextColor">#ffffffff</item>
<item name="asDetailsColor">#ff777777</item>
<item name="asDueDateColor">#ff7777aa</item>
<item name="asDueDateOverdueColor">#ffee5555</item>
<item name="asDueDateCompletedColor">#ff777777</item>
</style>
<!-- generic style for labels above edit boxes --> <style name="Theme.Transparent">
<style name="TextAppearance.GEN_EditLabel"> <item name="asContentBackground">@drawable/background_transparent</item>
<item name="android:textSize">14sp</item>
<item name="android:textStyle">bold</item>
</style> </style>
<style name="Theme" parent="@style/Theme.GreenDroid"> <style name="Theme.White">
<item name="android:windowBackground">@null</item> <item name="asContentBackground">@drawable/background_white</item>
<item name="asHeaderBackground">@drawable/header_background_white</item>
<item name="asTextColor">#ff000000</item>
<item name="asDetailsColor">#ff7777aa</item>
<item name="asDueDateColor">#ff000000</item>
</style> </style>
<style name="White" parent="android:Theme.Light"> <!--================================================== Stuff == -->
<item name="android:windowBackground">@null</item>
<style name="Content">
<item name="android:background">?attr/asContentBackground</item>
</style>
<style name="Header">
<item name="android:background">?attr/asHeaderBackground</item>
</style>
<style name="TextAppearance" parent="android:TextAppearance">
<item name="android:textColor">?attr/asTextColor</item>
</style>
<!-- generic style for labels above edit boxes -->
<style name="TextAppearance.GEN_EditLabel">
<item name="android:textSize">14sp</item>
<item name="android:textStyle">bold</item>
</style> </style>
<!--================================================== Custom Dialogs == --> <!--================================================== Custom Dialogs == -->
@ -75,20 +102,20 @@
</style> </style>
<style name="TextAppearance.TAd_ItemDetails"> <style name="TextAppearance.TAd_ItemDetails">
<item name="android:textColor">#ff777777</item> <item name="android:textColor">?attr/asDetailsColor</item>
<item name="android:textColorLink">#ff88aaff</item> <item name="android:textColorLink">#ff88aaff</item>
</style> </style>
<style name="TextAppearance.TAd_ItemDueDate" parent="TextAppearance.TAd_ItemDetails"> <style name="TextAppearance.TAd_ItemDueDate" parent="TextAppearance.TAd_ItemDetails">
<item name="android:textColor">#ff7777aa</item> <item name="android:textColor">?attr/asDueDateColor</item>
</style> </style>
<style name="TextAppearance.TAd_ItemDueDate_Overdue" parent="TextAppearance.TAd_ItemDueDate"> <style name="TextAppearance.TAd_ItemDueDate_Overdue" parent="TextAppearance.TAd_ItemDueDate">
<item name="android:textColor">#ffee5555</item> <item name="android:textColor">?attr/asDueDateOverdueColor</item>
</style> </style>
<style name="TextAppearance.TAd_ItemDueDate_Completed" parent="TextAppearance.TAd_ItemDueDate"> <style name="TextAppearance.TAd_ItemDueDate_Completed" parent="TextAppearance.TAd_ItemDueDate">
<item name="android:textColor">#ff777777</item> <item name="android:textColor">?attr/asDueDateCompletedColor</item>
</style> </style>
<!-- ============================================== FilterListAdapter == --> <!-- ============================================== FilterListAdapter == -->

@ -18,10 +18,11 @@
android:title="@string/EPr_showNotes_title" android:title="@string/EPr_showNotes_title"
android:defaultValue="false" /> android:defaultValue="false" />
<CheckBoxPreference <ListPreference
android:key="@string/p_transparent" android:key="@string/p_theme"
android:title="@string/EPr_transparent_title" android:entries="@array/EPr_themes"
android:defaultValue="false" /> android:entryValues="@array/EPr_theme_settings"
android:title="@string/EPr_theme_title" />
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory

@ -21,6 +21,7 @@ import android.content.res.Resources;
import android.os.Bundle; import android.os.Bundle;
import android.preference.CheckBoxPreference; import android.preference.CheckBoxPreference;
import android.preference.Preference; import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;
import android.preference.Preference.OnPreferenceClickListener; import android.preference.Preference.OnPreferenceClickListener;
import android.preference.PreferenceCategory; import android.preference.PreferenceCategory;
import android.preference.PreferenceScreen; import android.preference.PreferenceScreen;
@ -59,6 +60,8 @@ public class EditPreferences extends TodorooPreferenceActivity {
private static final int ABOUT_PREFERENCE = 0; // see preferences.xml for order of prefs private static final int ABOUT_PREFERENCE = 0; // see preferences.xml for order of prefs
private static final int POWER_PACK_PREFERENCE = 2; private static final int POWER_PACK_PREFERENCE = 2;
public static final int RESULT_CODE_THEME_CHANGED = 1;
// --- instance variables // --- instance variables
@Autowired private TaskService taskService; @Autowired private TaskService taskService;
@ -228,7 +231,6 @@ public class EditPreferences extends TodorooPreferenceActivity {
public void updatePreferences(final Preference preference, Object value) { public void updatePreferences(final Preference preference, Object value) {
final Resources r = getResources(); final Resources r = getResources();
if (r.getString(R.string.p_showNotes).equals(preference.getKey())) { if (r.getString(R.string.p_showNotes).equals(preference.getKey())) {
if (value != null && !(Boolean)value) if (value != null && !(Boolean)value)
preference.setSummary(R.string.EPr_showNotes_desc_disabled); preference.setSummary(R.string.EPr_showNotes_desc_disabled);
@ -238,14 +240,17 @@ public class EditPreferences extends TodorooPreferenceActivity {
taskService.clearDetails(Criterion.all); taskService.clearDetails(Criterion.all);
Flags.set(Flags.REFRESH); Flags.set(Flags.REFRESH);
} }
} else if (r.getString(R.string.p_transparent).equals(preference.getKey())) { } else if (r.getString(R.string.p_theme).equals(preference.getKey())) {
if(AndroidUtilities.getSdkVersion() < 5) { if(AndroidUtilities.getSdkVersion() < 5) {
preference.setEnabled(false); preference.setEnabled(false);
preference.setSummary(R.string.EPr_transparent_desc_unsupported); preference.setSummary(R.string.EPr_theme_desc_unsupported);
} else if (value != null && !(Boolean)value) } else {
preference.setSummary(R.string.EPr_transparent_desc_disabled); int index = 0;
else if(value != null)
preference.setSummary(R.string.EPr_transparent_desc_enabled); index = AndroidUtilities.indexOf(r.getStringArray(R.array.EPr_theme_settings), (String)value);
preference.setSummary(getString(R.string.EPr_theme_desc,
r.getStringArray(R.array.EPr_themes)[index]));
}
} }
@ -292,10 +297,15 @@ public class EditPreferences extends TodorooPreferenceActivity {
} }
public void addPreferenceListeners() { public void addPreferenceListeners() {
// findPreference(getString(R.string.p_theme)).setOnPreferenceChangeListener(new OnPreferenceChangeListener() {
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
setResult(RESULT_CODE_THEME_CHANGED);
return true;
}
});
} }
private void onVoiceReminderStatusChanged(final Preference preference, boolean newValue) { private void onVoiceReminderStatusChanged(final Preference preference, boolean newValue) {
try { try {
VoiceOutputService.getVoiceOutputInstance(); VoiceOutputService.getVoiceOutputInstance();

@ -32,7 +32,6 @@ import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
import android.content.IntentFilter; import android.content.IntentFilter;
import android.content.res.Resources; import android.content.res.Resources;
import android.graphics.Color;
import android.os.Bundle; import android.os.Bundle;
import android.speech.RecognizerIntent; import android.speech.RecognizerIntent;
import android.text.format.DateUtils; import android.text.format.DateUtils;
@ -75,6 +74,7 @@ import com.todoroo.astrid.service.MetadataService;
import com.todoroo.astrid.service.StartupService; import com.todoroo.astrid.service.StartupService;
import com.todoroo.astrid.service.StatisticsService; import com.todoroo.astrid.service.StatisticsService;
import com.todoroo.astrid.service.TaskService; import com.todoroo.astrid.service.TaskService;
import com.todoroo.astrid.service.ThemeService;
import com.todoroo.astrid.tags.TagsControlSet; import com.todoroo.astrid.tags.TagsControlSet;
import com.todoroo.astrid.timers.TimerControlSet; import com.todoroo.astrid.timers.TimerControlSet;
import com.todoroo.astrid.ui.EditTextControlSet; import com.todoroo.astrid.ui.EditTextControlSet;
@ -200,6 +200,7 @@ public final class TaskEditActivity extends TabActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
ThemeService.applyTheme(this);
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
new StartupService().onStartupApplication(this); new StartupService().onStartupApplication(this);
@ -248,7 +249,8 @@ public final class TaskEditActivity extends TabActivity {
setIndicator(r.getString(R.string.TEA_tab_more), setIndicator(r.getString(R.string.TEA_tab_more),
r.getDrawable(R.drawable.gl_more)).setContent( r.getDrawable(R.drawable.gl_more)).setContent(
R.id.tab_more)); R.id.tab_more));
getTabWidget().setBackgroundColor(Color.BLACK); tabHost.setBackgroundDrawable(findViewById(R.id.taskEditParent).getBackground());
//getTabWidget().setBackgroundColor(Color.WHITE);
AndroidUtilities.callApiMethod(8, getTabWidget(), "setStripEnabled", //$NON-NLS-1$ AndroidUtilities.callApiMethod(8, getTabWidget(), "setStripEnabled", //$NON-NLS-1$
new Class<?>[] { boolean.class }, false); new Class<?>[] { boolean.class }, false);
if(getIntent().hasExtra(TOKEN_TAB)) if(getIntent().hasExtra(TOKEN_TAB))

@ -206,13 +206,13 @@ public class TaskListActivity extends ListActivity implements OnScrollListener,
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
DependencyInjectionService.getInstance().inject(this); DependencyInjectionService.getInstance().inject(this);
requestWindowFeature(Window.FEATURE_NO_TITLE); requestWindowFeature(Window.FEATURE_NO_TITLE);
ThemeService.applyTheme(this);
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
new StartupService().onStartupApplication(this); new StartupService().onStartupApplication(this);
ViewGroup parent = (ViewGroup) getLayoutInflater().inflate(R.layout.task_list_activity, null); ViewGroup parent = (ViewGroup) getLayoutInflater().inflate(R.layout.task_list_activity, null);
parent.addView(getListBody(parent), 1); parent.addView(getListBody(parent), 1);
setContentView(parent); setContentView(parent);
ThemeService.applyTheme(this);
if(database == null) if(database == null)
return; return;
@ -605,8 +605,9 @@ public class TaskListActivity extends ListActivity implements OnScrollListener,
return; return;
} }
if(requestCode == ACTIVITY_SETTINGS) { if(requestCode == ACTIVITY_SETTINGS && resultCode == EditPreferences.RESULT_CODE_THEME_CHANGED) {
ThemeService.applyTheme(this); finish();
startActivity(getIntent());
} }
super.onActivityResult(requestCode, resultCode, data); super.onActivityResult(requestCode, resultCode, data);

@ -2,8 +2,6 @@ package com.todoroo.astrid.service;
import android.app.Activity; import android.app.Activity;
import android.graphics.PixelFormat; import android.graphics.PixelFormat;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager; import android.view.WindowManager;
import com.timsu.astrid.R; import com.timsu.astrid.R;
@ -11,16 +9,15 @@ import com.todoroo.andlib.utility.Preferences;
public class ThemeService { public class ThemeService {
private static void applyTheme(View parent) { @SuppressWarnings("nls")
if(Preferences.getBoolean(R.string.p_transparent, false))
parent.setBackgroundResource(R.drawable.background_transparent);
else
parent.setBackgroundResource(R.drawable.background_gradient);
}
public static void applyTheme(Activity activity) { public static void applyTheme(Activity activity) {
View root = ((ViewGroup)activity.findViewById(android.R.id.content)).getChildAt(0); String preference = Preferences.getStringValue(R.string.p_theme);
applyTheme(root); if(preference != null && preference.equals("black"))
activity.setTheme(R.style.Theme);
else if(preference != null && preference.equals("transparent"))
activity.setTheme(R.style.Theme_Transparent);
else
activity.setTheme(R.style.Theme_White);
activity.getWindow().setFormat(PixelFormat.RGBA_8888); activity.getWindow().setFormat(PixelFormat.RGBA_8888);
activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER); activity.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER);

@ -36,7 +36,7 @@ import com.todoroo.astrid.utility.AstridPreferences;
public final class UpgradeService { public final class UpgradeService {
public static final int V3_8_0_3 = 189; public static final int V3_8_2 = 191;
public static final int V3_8_0_2 = 188; public static final int V3_8_0_2 = 188;
public static final int V3_8_0 = 186; public static final int V3_8_0 = 186;
public static final int V3_7_7 = 184; public static final int V3_7_7 = 184;
@ -136,13 +136,11 @@ public final class UpgradeService {
StringBuilder changeLog = new StringBuilder(); StringBuilder changeLog = new StringBuilder();
// current message // current message
if(from >= V3_8_0 && from < V3_8_0_3) { if(from >= V3_8_0 && from < V3_8_2) {
newVersionString(changeLog, "3.8.0.3 (7/19/11)", new String[] { if(Preferences.getBoolean(R.string.p_transparent_deprecated, false))
"Improved Google Tasks Sync migration process", Preferences.setString(R.string.p_theme, "transparent");
"Handle service errors in Google Tasks sync gracefully", else
"Fixed Astrid.com sync would sometimes send unchanged tasks", Preferences.setString(R.string.p_theme, "black");
"Fix for crashes. Keep on reporting them!",
});
} }
if(from >= V3_8_0 && from < V3_8_0_2) { if(from >= V3_8_0 && from < V3_8_0_2) {
newVersionString(changeLog, "3.8.0.2 (7/16/11)", new String[] { newVersionString(changeLog, "3.8.0.2 (7/16/11)", new String[] {

Loading…
Cancel
Save