Change icons
This commit is contained in:
parent
011378b19f
commit
3f58e8bbc4
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
|
||||||
});
|
});
|
||||||
button.setAllCaps(true);
|
button.setAllCaps(true);
|
||||||
button.setText(R.string.context_menu_read_full_article);
|
button.setText(R.string.context_menu_read_full_article);
|
||||||
Drawable compoundDrawable = app.getIconsCache().getIcon(R.drawable.ic_action_note_dark, light ? R.color.ctx_menu_controller_button_text_color_light_n : R.color.ctx_menu_controller_button_text_color_dark_n);
|
Drawable compoundDrawable = app.getIconsCache().getIcon(R.drawable.ic_action_read_text, light ? R.color.ctx_menu_controller_button_text_color_light_n : R.color.ctx_menu_controller_button_text_color_dark_n);
|
||||||
button.setCompoundDrawablesWithIntrinsicBounds(compoundDrawable, null, null, null);
|
button.setCompoundDrawablesWithIntrinsicBounds(compoundDrawable, null, null, null);
|
||||||
button.setCompoundDrawablePadding(dpToPx(8f));
|
button.setCompoundDrawablePadding(dpToPx(8f));
|
||||||
llText.addView(button);
|
llText.addView(button);
|
||||||
|
|
|
@ -74,7 +74,7 @@ public class AmenityMenuController extends MenuController {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
leftTitleButtonController.caption = getMapActivity().getString(R.string.context_menu_read_article);
|
leftTitleButtonController.caption = getMapActivity().getString(R.string.context_menu_read_article);
|
||||||
leftTitleButtonController.leftIcon = getIcon(R.drawable.ic_action_note_dark, isLight() ? R.color.ctx_menu_controller_button_text_color_light_n : R.color.ctx_menu_controller_button_text_color_dark_n);
|
leftTitleButtonController.leftIcon = getIcon(R.drawable.ic_action_read_text, isLight() ? R.color.ctx_menu_controller_button_text_color_light_n : R.color.ctx_menu_controller_button_text_color_dark_n);
|
||||||
}
|
}
|
||||||
|
|
||||||
openingHoursInfo = processOpeningHours(amenity);
|
openingHoursInfo = processOpeningHours(amenity);
|
||||||
|
|
Loading…
Reference in a new issue