|
@@ -78,12 +78,12 @@ public class TradeListFragment extends MainTabFragment {
|
|
|
|
|
|
@Override
|
|
|
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
|
|
- super.onCreateOptionsMenu(menu, inflater);
|
|
|
this.menu = menu;
|
|
|
inflater.inflate(R.menu.trade_menu,menu);
|
|
|
for (int i = 0 ; i < menu.getItem(1).getSubMenu().size() ; i++){
|
|
|
menuItems.add(menu.getItem(1).getSubMenu().getItem(i));
|
|
|
}
|
|
|
+ super.onCreateOptionsMenu(menu, inflater);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -176,7 +176,7 @@ public class TradeListFragment extends MainTabFragment {
|
|
|
|
|
|
private void initToolbar(){
|
|
|
toolbar.init();
|
|
|
- toolbar.setTitle("快讯");
|
|
|
+ toolbar.setTitle(" 快讯");
|
|
|
|
|
|
toolbar.getIndexIco().setVisibility(View.VISIBLE);
|
|
|
toolbar.setLeftText(AccountCache.getAccount().getCity() + AccountCache.getAccount().getDistrict());
|