private void t2wInit() { mT2wCard = new PopupCardView.DPopupCard(Wake.getT2wMenu(getActivity())); mT2wCard.setTitle(getString(R.string.t2w)); mT2wCard.setDescription(getString(R.string.t2w_summary)); mT2wCard.setItem(Wake.getT2w()); mT2wCard.setOnDPopupCardListener(this); addView(mT2wCard); }