|
|
|
@ -269,8 +269,12 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
|
|
|
|
|
|
|
|
|
|
|
|
public int computeFullRowHeight() {
|
|
|
|
public int computeFullRowHeight() {
|
|
|
|
DisplayMetrics metrics = resources.getDisplayMetrics();
|
|
|
|
DisplayMetrics metrics = resources.getDisplayMetrics();
|
|
|
|
|
|
|
|
if (fontSize < 16) {
|
|
|
|
|
|
|
|
return (int) (39 * metrics.density);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
return minRowHeight + (int) (10 * metrics.density);
|
|
|
|
return minRowHeight + (int) (10 * metrics.density);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void startDetailThread() {
|
|
|
|
private void startDetailThread() {
|
|
|
|
if (Preferences.getBoolean(R.string.p_showNotes, false) && !simpleLayout) {
|
|
|
|
if (Preferences.getBoolean(R.string.p_showNotes, false) && !simpleLayout) {
|
|
|
|
|