New default task list text size for astrid lite, make quickadd box have the same text size as the list

pull/14/head
Sam Bosley 12 years ago
parent 325417da97
commit 1712b89e1c

@ -146,6 +146,9 @@ public class QuickAddBar extends LinearLayout {
}
});
int fontSize = Preferences.getIntegerFromString(R.string.p_fontSize, 18);
quickAddBox.setTextSize(Math.min(fontSize, 22));
quickAddButton = ((ImageButton) findViewById(
R.id.quickAddButton));

@ -78,7 +78,7 @@ public class AstridLitePreferenceSpec extends AstridPreferenceSpec {
setPreference(prefs, editor, r, R.string.p_default_reminders_key, Task.NOTIFY_AT_DEADLINE | Task.NOTIFY_AFTER_DEADLINE, ifUnset);
setPreference(prefs, editor, r, R.string.p_default_reminders_mode_key, 16, ifUnset);
setPreference(prefs, editor, r, R.string.p_rmd_default_random_hours, 0, ifUnset);
setPreference(prefs, editor, r, R.string.p_fontSize, 18, ifUnset);
setPreference(prefs, editor, r, R.string.p_fontSize, 22, ifUnset);
setPreference(prefs, editor, r, R.string.p_showNotes, false, ifUnset);
setPreference(prefs, editor, r, R.string.p_use_contact_picker, false, ifUnset);

Loading…
Cancel
Save