diff --git a/astrid/plugin-src/com/todoroo/astrid/notes/NoteViewingActivity.java b/astrid/plugin-src/com/todoroo/astrid/notes/NoteViewingActivity.java index 670331004..b6b6dcf8d 100644 --- a/astrid/plugin-src/com/todoroo/astrid/notes/NoteViewingActivity.java +++ b/astrid/plugin-src/com/todoroo/astrid/notes/NoteViewingActivity.java @@ -43,6 +43,8 @@ public class NoteViewingActivity extends Activity { Button ok = new Button(this); ok.setText(android.R.string.ok); + ok.setLayoutParams(new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, + LayoutParams.WRAP_CONTENT)); ok.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { diff --git a/astrid/res/layout/note_decoration.xml b/astrid/res/layout/note_decoration.xml index 9582450f4..551bc7a3b 100644 --- a/astrid/res/layout/note_decoration.xml +++ b/astrid/res/layout/note_decoration.xml @@ -4,7 +4,8 @@ android:layout_width="wrap_content" android:layout_height="fill_parent" android:orientation="vertical" - android:paddingLeft="3px"> + android:paddingLeft="5px" + android:paddingRight="3px"> actions = taskActionManager.get(taskId); prepareQuickActionBar(viewHolder, actions); //mBarAnchor = v; @@ -900,6 +909,12 @@ public class TaskAdapter extends CursorAdapter implements Filterable { notifyDataSetChanged(); } + + private boolean isIntroTask(Task task) { + if(activity.getString(R.string.intro_click_prompt).equals(task.getValue(Task.DETAILS))) + return true; + return false; + } } /**