diff --git a/astrid/res/drawable/custom_tab_indicator_alt.xml b/astrid/res/drawable/custom_tab_indicator_alt.xml new file mode 100644 index 000000000..f8f0fa5f6 --- /dev/null +++ b/astrid/res/drawable/custom_tab_indicator_alt.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + diff --git a/astrid/res/drawable/custom_tab_indicator_selected_alt.9.png b/astrid/res/drawable/custom_tab_indicator_selected_alt.9.png new file mode 100644 index 000000000..0a1dc8e86 Binary files /dev/null and b/astrid/res/drawable/custom_tab_indicator_selected_alt.9.png differ diff --git a/astrid/res/drawable/custom_tab_indicator_selected_focused_alt.9.png b/astrid/res/drawable/custom_tab_indicator_selected_focused_alt.9.png new file mode 100644 index 000000000..657df6674 Binary files /dev/null and b/astrid/res/drawable/custom_tab_indicator_selected_focused_alt.9.png differ diff --git a/astrid/res/drawable/custom_tab_indicator_unselected_alt.9.png b/astrid/res/drawable/custom_tab_indicator_unselected_alt.9.png new file mode 100644 index 000000000..e98bd9329 Binary files /dev/null and b/astrid/res/drawable/custom_tab_indicator_unselected_alt.9.png differ diff --git a/astrid/res/drawable/custom_tab_indicator_unselected_focused_alt.9.png b/astrid/res/drawable/custom_tab_indicator_unselected_focused_alt.9.png new file mode 100644 index 000000000..bb2088c74 Binary files /dev/null and b/astrid/res/drawable/custom_tab_indicator_unselected_focused_alt.9.png differ diff --git a/astrid/res/values/styles.xml b/astrid/res/values/styles.xml index 23b3f825d..4adfd5870 100644 --- a/astrid/res/values/styles.xml +++ b/astrid/res/values/styles.xml @@ -144,6 +144,7 @@ @drawable/comment_blue_filled_alt @drawable/menu_button_blue_alt @drawable/lists_disclosure_blue_alt + @drawable/custom_tab_indicator_alt @color/blue_theme_color @drawable/home_button_blue_alt @drawable/header_blue_alt diff --git a/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java b/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java index 2cee290cd..abdbaa3bf 100755 --- a/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskEditFragment.java @@ -1208,7 +1208,7 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener { item = menu.add(Menu.NONE, MENU_COMMENTS_REFRESH_ID, Menu.NONE, R.string.ENA_refresh_comments); item.setIcon(R.drawable.icn_menu_refresh_dark); - } else { + } else if (wouldShowComments && !showEditComments) { item = menu.add(Menu.NONE, MENU_SHOW_COMMENTS_ID, Menu.NONE, R.string.TEA_menu_comments); item.setIcon(commentIcon); item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);