private void initHomeUI() { ButterKnife.inject(this); mTvApply.setCompoundDrawablesWithIntrinsicBounds(R.drawable.apply_icon, 0, 0, 0); mTvCardServices.setCompoundDrawablesWithIntrinsicBounds(R.drawable.card_details, 0, 0, 0); mTvLearnMore.setCompoundDrawablesWithIntrinsicBounds(R.drawable.learn_more, 0, 0, 0); mTvPersonalDetails.setCompoundDrawablesWithIntrinsicBounds(R.drawable.p_details, 0, 0, 0); mTvAccountDetails.setCompoundDrawablesWithIntrinsicBounds(R.drawable.a_details, 0, 0, 0); mTvContactUs.setCompoundDrawablesWithIntrinsicBounds(R.drawable.contact_us, 0, 0, 0); mTvStoreLocator.setCompoundDrawablesWithIntrinsicBounds(R.drawable.map_locator, 0, 0, 0); mTvLogOut.setCompoundDrawablesWithIntrinsicBounds(R.drawable.logout, 0, 0, 0); mTvFAQ.setCompoundDrawablesWithIntrinsicBounds(R.drawable.faq, 0, 0, 0); boolean isStateEnabled = ModelData.getInstance().isEnabled; System.out.println("MMM" + isStateEnabled); /*if(!isStateEnabled){ // mTvApply.setEnabled(false); // mTvApply.setTextColor(Color.GRAY); }*/ }