Browse files

Minor improvements to appearance of agenda.

  • Loading branch information...
1 parent ddfba55 commit fa9357ea28281d03a8eb3885cfa19df54cbc287e @hdweiss hdweiss committed Dec 10, 2012
View
4 src/com/matburt/mobileorg/Gui/Agenda/AgendaFragment.java
@@ -52,7 +52,9 @@ public void showBlockAgenda(int agendaPos) {
this.agendaList.setAdapter(mergeAdapter);
this.agendaList.setOnItemClickListener(agendaClickListener);
- //getSherlockActivity().getSupportActionBar().setTitle(blockAgenda.title);
+
+ ((AgendaActivity) getActivity()).getSupportActionBar().setTitle("Agenda: " +
+ blockAgenda.title);
}
public void addAgenda(OrgQueryBuilder query) {
View
2 src/com/matburt/mobileorg/Gui/Agenda/AgendasActivity.java
@@ -11,5 +11,7 @@
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.agendas);
+
+ getSupportActionBar().setTitle("Agenda");
}
}
View
2 src/com/matburt/mobileorg/Gui/Agenda/AgendasFragment.java
@@ -108,7 +108,7 @@ public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
super.onCreateOptionsMenu(menu, inflater);
MenuItem create = menu.add("Create");
- create.setIcon(R.drawable.ic_menu_add);
+ create.setIcon(R.drawable.ic_menu_add2);
create.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
}

0 comments on commit fa9357e

Please sign in to comment.