private void fillContent() { if (poi.isOpenNow()) { textOpeningStatus.setText(getText(R.string.info_openstatus_open)); textOpeningStatus.setTextColor( ContextCompat.getColor(getApplicationContext(), R.color.green)); } else { textOpeningStatus.setText(getText(R.string.info_openstatus_closed)); textOpeningStatus.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.red)); } textOpeningMon.setText(poi.getFormattedSchedule(0)); textOpeningTue.setText(poi.getFormattedSchedule(1)); textOpeningWed.setText(poi.getFormattedSchedule(2)); textOpeningThu.setText(poi.getFormattedSchedule(3)); textOpeningFri.setText(poi.getFormattedSchedule(4)); textOpeningSat.setText(poi.getFormattedSchedule(5)); textOpeningSun.setText(poi.getFormattedSchedule(6)); textPriceDefault.setText( getString( R.string.info_price_value, String.valueOf((int) poi.getPriceByCategory("Adult")))); textPriceKid.setText( getString(R.string.info_price_value, String.valueOf((int) poi.getPriceByCategory("Kid")))); textPriceStudent.setText( getString( R.string.info_price_value, String.valueOf((int) poi.getPriceByCategory("Student")))); textPriceSenior.setText( getString( R.string.info_price_value, String.valueOf((int) poi.getPriceByCategory("Senior")))); textPriceGroup.setText( getString( R.string.info_price_value, String.valueOf((int) poi.getPriceByCategory("Group")))); textVisitTime.setText(String.valueOf(poi.getFormattedVisitTime())); textWebsite.setText(String.valueOf(poi.getWebsite())); textPhone.setText(String.valueOf(poi.getPhone())); textAddress.setText(String.valueOf(poi.getAddress())); textDescription.setText(poi.getGetDescriptionLong()); }